Changes between Version 5 and Version 6 of AtomicPrimops


Ignore:
Timestamp:
Jun 6, 2014 10:50:24 AM (14 months ago)
Author:
tibbe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AtomicPrimops

    v5 v6  
    88
    99{{{#!haskell
    10 readIntArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Int# #)
    11 writeIntArray# :: MutableByteArray# s -> Int# -> Int# -> State# s -> State# s
     10atomicReadIntArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Int# #)
     11atomicWriteIntArray# :: MutableByteArray# s -> Int# -> Int# -> State# s -> State# s
    1212fetchAddIntArray#
    1313    :: MutableByteArray#     -- Array to modify