Atomic Bool Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Bool #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Bool -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Bool #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Bool -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Bool -> Bool -> State# s -> (# State# s, Bool #) Source # casOffAddr# :: Addr# -> Int# -> Bool -> Bool -> State# s -> (# State# s, Bool #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Bool -> Bool -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Bool -> Bool -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Bool -> (# Bool, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Bool -> (# Bool, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Char Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Char #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Char -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Char #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Char -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Char -> Char -> State# s -> (# State# s, Char #) Source # casOffAddr# :: Addr# -> Int# -> Char -> Char -> State# s -> (# State# s, Char #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Char -> Char -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Char -> Char -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Char -> (# Char, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Char -> (# Char, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Int Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Int #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Int -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Int #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Int -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Int -> Int -> State# s -> (# State# s, Int #) Source # casOffAddr# :: Addr# -> Int# -> Int -> Int -> State# s -> (# State# s, Int #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Int -> Int -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Int -> Int -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Int -> (# Int, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Int -> (# Int, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Int8 Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Int8 #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Int8 -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Int8 #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Int8 -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Int8 -> Int8 -> State# s -> (# State# s, Int8 #) Source # casOffAddr# :: Addr# -> Int# -> Int8 -> Int8 -> State# s -> (# State# s, Int8 #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Int8 -> Int8 -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Int8 -> Int8 -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Int8 -> (# Int8, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Int8 -> (# Int8, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Int16 Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Int16 #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Int16 -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Int16 #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Int16 -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Int16 -> Int16 -> State# s -> (# State# s, Int16 #) Source # casOffAddr# :: Addr# -> Int# -> Int16 -> Int16 -> State# s -> (# State# s, Int16 #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Int16 -> Int16 -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Int16 -> Int16 -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Int16 -> (# Int16, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Int16 -> (# Int16, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Int32 Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Int32 #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Int32 -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Int32 #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Int32 -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Int32 -> Int32 -> State# s -> (# State# s, Int32 #) Source # casOffAddr# :: Addr# -> Int# -> Int32 -> Int32 -> State# s -> (# State# s, Int32 #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Int32 -> Int32 -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Int32 -> Int32 -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Int32 -> (# Int32, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Int32 -> (# Int32, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Int64 Source # | Available only on 64bit architectures |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Int64 #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Int64 -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Int64 #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Int64 -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Int64 -> Int64 -> State# s -> (# State# s, Int64 #) Source # casOffAddr# :: Addr# -> Int# -> Int64 -> Int64 -> State# s -> (# State# s, Int64 #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Int64 -> Int64 -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Int64 -> Int64 -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Int64 -> (# Int64, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Int64 -> (# Int64, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Ordering Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Ordering #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Ordering -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Ordering #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Ordering -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Ordering -> Ordering -> State# s -> (# State# s, Ordering #) Source # casOffAddr# :: Addr# -> Int# -> Ordering -> Ordering -> State# s -> (# State# s, Ordering #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Ordering -> Ordering -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Ordering -> Ordering -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Ordering -> (# Ordering, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Ordering -> (# Ordering, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Word Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Word #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Word -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Word #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Word -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Word -> Word -> State# s -> (# State# s, Word #) Source # casOffAddr# :: Addr# -> Int# -> Word -> Word -> State# s -> (# State# s, Word #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Word -> Word -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Word -> Word -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Word -> (# Word, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Word -> (# Word, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Word8 Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Word8 #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Word8 -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Word8 #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Word8 -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Word8 -> Word8 -> State# s -> (# State# s, Word8 #) Source # casOffAddr# :: Addr# -> Int# -> Word8 -> Word8 -> State# s -> (# State# s, Word8 #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Word8 -> Word8 -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Word8 -> Word8 -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Word8 -> (# Word8, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Word8 -> (# Word8, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Word16 Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Word16 #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Word16 -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Word16 #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Word16 -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Word16 -> Word16 -> State# s -> (# State# s, Word16 #) Source # casOffAddr# :: Addr# -> Int# -> Word16 -> Word16 -> State# s -> (# State# s, Word16 #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Word16 -> Word16 -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Word16 -> Word16 -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Word16 -> (# Word16, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Word16 -> (# Word16, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Word32 Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Word32 #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Word32 -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Word32 #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Word32 -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Word32 -> Word32 -> State# s -> (# State# s, Word32 #) Source # casOffAddr# :: Addr# -> Int# -> Word32 -> Word32 -> State# s -> (# State# s, Word32 #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Word32 -> Word32 -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Word32 -> Word32 -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Word32 -> (# Word32, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Word32 -> (# Word32, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Word64 Source # | Available only on 64bit architectures |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Word64 #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Word64 -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Word64 #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Word64 -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Word64 -> Word64 -> State# s -> (# State# s, Word64 #) Source # casOffAddr# :: Addr# -> Int# -> Word64 -> Word64 -> State# s -> (# State# s, Word64 #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Word64 -> Word64 -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Word64 -> Word64 -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Word64 -> (# Word64, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Word64 -> (# Word64, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic BlockReason Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, BlockReason #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> BlockReason -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, BlockReason #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> BlockReason -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> BlockReason -> BlockReason -> State# s -> (# State# s, BlockReason #) Source # casOffAddr# :: Addr# -> Int# -> BlockReason -> BlockReason -> State# s -> (# State# s, BlockReason #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> BlockReason -> BlockReason -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> BlockReason -> BlockReason -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (BlockReason -> (# BlockReason, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (BlockReason -> (# BlockReason, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic ThreadStatus Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, ThreadStatus #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> ThreadStatus -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, ThreadStatus #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> ThreadStatus -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> ThreadStatus -> ThreadStatus -> State# s -> (# State# s, ThreadStatus #) Source # casOffAddr# :: Addr# -> Int# -> ThreadStatus -> ThreadStatus -> State# s -> (# State# s, ThreadStatus #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> ThreadStatus -> ThreadStatus -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> ThreadStatus -> ThreadStatus -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (ThreadStatus -> (# ThreadStatus, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (ThreadStatus -> (# ThreadStatus, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Fd Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Fd #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Fd -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Fd #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Fd -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Fd -> Fd -> State# s -> (# State# s, Fd #) Source # casOffAddr# :: Addr# -> Int# -> Fd -> Fd -> State# s -> (# State# s, Fd #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Fd -> Fd -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Fd -> Fd -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Fd -> (# Fd, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Fd -> (# Fd, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Errno Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Errno #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Errno -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Errno #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Errno -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Errno -> Errno -> State# s -> (# State# s, Errno #) Source # casOffAddr# :: Addr# -> Int# -> Errno -> Errno -> State# s -> (# State# s, Errno #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Errno -> Errno -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Errno -> Errno -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Errno -> (# Errno, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Errno -> (# Errno, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Newline Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Newline #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Newline -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Newline #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Newline -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Newline -> Newline -> State# s -> (# State# s, Newline #) Source # casOffAddr# :: Addr# -> Int# -> Newline -> Newline -> State# s -> (# State# s, Newline #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Newline -> Newline -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Newline -> Newline -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Newline -> (# Newline, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Newline -> (# Newline, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic NewlineMode Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, NewlineMode #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> NewlineMode -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, NewlineMode #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> NewlineMode -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> NewlineMode -> NewlineMode -> State# s -> (# State# s, NewlineMode #) Source # casOffAddr# :: Addr# -> Int# -> NewlineMode -> NewlineMode -> State# s -> (# State# s, NewlineMode #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> NewlineMode -> NewlineMode -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> NewlineMode -> NewlineMode -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (NewlineMode -> (# NewlineMode, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (NewlineMode -> (# NewlineMode, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic IODeviceType Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, IODeviceType #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> IODeviceType -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, IODeviceType #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> IODeviceType -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> IODeviceType -> IODeviceType -> State# s -> (# State# s, IODeviceType #) Source # casOffAddr# :: Addr# -> Int# -> IODeviceType -> IODeviceType -> State# s -> (# State# s, IODeviceType #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> IODeviceType -> IODeviceType -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> IODeviceType -> IODeviceType -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (IODeviceType -> (# IODeviceType, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (IODeviceType -> (# IODeviceType, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic SeekMode Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SeekMode #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> SeekMode -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SeekMode #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> SeekMode -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> SeekMode -> SeekMode -> State# s -> (# State# s, SeekMode #) Source # casOffAddr# :: Addr# -> Int# -> SeekMode -> SeekMode -> State# s -> (# State# s, SeekMode #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> SeekMode -> SeekMode -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> SeekMode -> SeekMode -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (SeekMode -> (# SeekMode, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (SeekMode -> (# SeekMode, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic All Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, All #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> All -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, All #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> All -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> All -> All -> State# s -> (# State# s, All #) Source # casOffAddr# :: Addr# -> Int# -> All -> All -> State# s -> (# State# s, All #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> All -> All -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> All -> All -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (All -> (# All, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (All -> (# All, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic Any Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Any #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Any -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Any #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Any -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Any -> Any -> State# s -> (# State# s, Any #) Source # casOffAddr# :: Addr# -> Int# -> Any -> Any -> State# s -> (# State# s, Any #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Any -> Any -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Any -> Any -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Any -> (# Any, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Any -> (# Any, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CChar Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CChar #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CChar -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CChar #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CChar -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CChar -> CChar -> State# s -> (# State# s, CChar #) Source # casOffAddr# :: Addr# -> Int# -> CChar -> CChar -> State# s -> (# State# s, CChar #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CChar -> CChar -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CChar -> CChar -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CChar -> (# CChar, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CChar -> (# CChar, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CSChar Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CSChar #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CSChar -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CSChar #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CSChar -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CSChar -> CSChar -> State# s -> (# State# s, CSChar #) Source # casOffAddr# :: Addr# -> Int# -> CSChar -> CSChar -> State# s -> (# State# s, CSChar #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CSChar -> CSChar -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CSChar -> CSChar -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CSChar -> (# CSChar, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CSChar -> (# CSChar, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CUChar Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CUChar #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CUChar -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CUChar #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CUChar -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CUChar -> CUChar -> State# s -> (# State# s, CUChar #) Source # casOffAddr# :: Addr# -> Int# -> CUChar -> CUChar -> State# s -> (# State# s, CUChar #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CUChar -> CUChar -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CUChar -> CUChar -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CUChar -> (# CUChar, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CUChar -> (# CUChar, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CShort Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CShort #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CShort -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CShort #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CShort -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CShort -> CShort -> State# s -> (# State# s, CShort #) Source # casOffAddr# :: Addr# -> Int# -> CShort -> CShort -> State# s -> (# State# s, CShort #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CShort -> CShort -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CShort -> CShort -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CShort -> (# CShort, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CShort -> (# CShort, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CUShort Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CUShort #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CUShort -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CUShort #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CUShort -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CUShort -> CUShort -> State# s -> (# State# s, CUShort #) Source # casOffAddr# :: Addr# -> Int# -> CUShort -> CUShort -> State# s -> (# State# s, CUShort #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CUShort -> CUShort -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CUShort -> CUShort -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CUShort -> (# CUShort, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CUShort -> (# CUShort, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CInt Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CInt #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CInt -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CInt #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CInt -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CInt -> CInt -> State# s -> (# State# s, CInt #) Source # casOffAddr# :: Addr# -> Int# -> CInt -> CInt -> State# s -> (# State# s, CInt #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CInt -> CInt -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CInt -> CInt -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CInt -> (# CInt, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CInt -> (# CInt, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CUInt Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CUInt #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CUInt -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CUInt #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CUInt -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CUInt -> CUInt -> State# s -> (# State# s, CUInt #) Source # casOffAddr# :: Addr# -> Int# -> CUInt -> CUInt -> State# s -> (# State# s, CUInt #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CUInt -> CUInt -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CUInt -> CUInt -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CUInt -> (# CUInt, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CUInt -> (# CUInt, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CLong Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CLong #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CLong -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CLong #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CLong -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CLong -> CLong -> State# s -> (# State# s, CLong #) Source # casOffAddr# :: Addr# -> Int# -> CLong -> CLong -> State# s -> (# State# s, CLong #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CLong -> CLong -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CLong -> CLong -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CLong -> (# CLong, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CLong -> (# CLong, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CULong Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CULong #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CULong -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CULong #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CULong -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CULong -> CULong -> State# s -> (# State# s, CULong #) Source # casOffAddr# :: Addr# -> Int# -> CULong -> CULong -> State# s -> (# State# s, CULong #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CULong -> CULong -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CULong -> CULong -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CULong -> (# CULong, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CULong -> (# CULong, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CLLong Source # | Available only on 64bit architectures |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CLLong #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CLLong -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CLLong #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CLLong -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CLLong -> CLLong -> State# s -> (# State# s, CLLong #) Source # casOffAddr# :: Addr# -> Int# -> CLLong -> CLLong -> State# s -> (# State# s, CLLong #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CLLong -> CLLong -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CLLong -> CLLong -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CLLong -> (# CLLong, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CLLong -> (# CLLong, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CULLong Source # | Available only on 64bit architectures |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CULLong #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CULLong -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CULLong #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CULLong -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CULLong -> CULLong -> State# s -> (# State# s, CULLong #) Source # casOffAddr# :: Addr# -> Int# -> CULLong -> CULLong -> State# s -> (# State# s, CULLong #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CULLong -> CULLong -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CULLong -> CULLong -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CULLong -> (# CULLong, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CULLong -> (# CULLong, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CBool Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CBool #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CBool -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CBool #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CBool -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CBool -> CBool -> State# s -> (# State# s, CBool #) Source # casOffAddr# :: Addr# -> Int# -> CBool -> CBool -> State# s -> (# State# s, CBool #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CBool -> CBool -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CBool -> CBool -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CBool -> (# CBool, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CBool -> (# CBool, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CPtrdiff Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CPtrdiff #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CPtrdiff -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CPtrdiff #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CPtrdiff -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CPtrdiff -> CPtrdiff -> State# s -> (# State# s, CPtrdiff #) Source # casOffAddr# :: Addr# -> Int# -> CPtrdiff -> CPtrdiff -> State# s -> (# State# s, CPtrdiff #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CPtrdiff -> CPtrdiff -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CPtrdiff -> CPtrdiff -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CPtrdiff -> (# CPtrdiff, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CPtrdiff -> (# CPtrdiff, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CSize Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CSize #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CSize -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CSize #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CSize -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CSize -> CSize -> State# s -> (# State# s, CSize #) Source # casOffAddr# :: Addr# -> Int# -> CSize -> CSize -> State# s -> (# State# s, CSize #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CSize -> CSize -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CSize -> CSize -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CSize -> (# CSize, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CSize -> (# CSize, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CWchar Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CWchar #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CWchar -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CWchar #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CWchar -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CWchar -> CWchar -> State# s -> (# State# s, CWchar #) Source # casOffAddr# :: Addr# -> Int# -> CWchar -> CWchar -> State# s -> (# State# s, CWchar #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CWchar -> CWchar -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CWchar -> CWchar -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CWchar -> (# CWchar, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CWchar -> (# CWchar, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CSigAtomic Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CSigAtomic #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CSigAtomic -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CSigAtomic #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CSigAtomic -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CSigAtomic -> CSigAtomic -> State# s -> (# State# s, CSigAtomic #) Source # casOffAddr# :: Addr# -> Int# -> CSigAtomic -> CSigAtomic -> State# s -> (# State# s, CSigAtomic #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CSigAtomic -> CSigAtomic -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CSigAtomic -> CSigAtomic -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CSigAtomic -> (# CSigAtomic, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CSigAtomic -> (# CSigAtomic, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CIntPtr Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CIntPtr #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CIntPtr -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CIntPtr #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CIntPtr -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CIntPtr -> CIntPtr -> State# s -> (# State# s, CIntPtr #) Source # casOffAddr# :: Addr# -> Int# -> CIntPtr -> CIntPtr -> State# s -> (# State# s, CIntPtr #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CIntPtr -> CIntPtr -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CIntPtr -> CIntPtr -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CIntPtr -> (# CIntPtr, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CIntPtr -> (# CIntPtr, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CUIntPtr Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CUIntPtr #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CUIntPtr -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CUIntPtr #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CUIntPtr -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CUIntPtr -> CUIntPtr -> State# s -> (# State# s, CUIntPtr #) Source # casOffAddr# :: Addr# -> Int# -> CUIntPtr -> CUIntPtr -> State# s -> (# State# s, CUIntPtr #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CUIntPtr -> CUIntPtr -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CUIntPtr -> CUIntPtr -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CUIntPtr -> (# CUIntPtr, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CUIntPtr -> (# CUIntPtr, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CIntMax Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CIntMax #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CIntMax -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CIntMax #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CIntMax -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CIntMax -> CIntMax -> State# s -> (# State# s, CIntMax #) Source # casOffAddr# :: Addr# -> Int# -> CIntMax -> CIntMax -> State# s -> (# State# s, CIntMax #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CIntMax -> CIntMax -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CIntMax -> CIntMax -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CIntMax -> (# CIntMax, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CIntMax -> (# CIntMax, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic CUIntMax Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, CUIntMax #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> CUIntMax -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, CUIntMax #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> CUIntMax -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> CUIntMax -> CUIntMax -> State# s -> (# State# s, CUIntMax #) Source # casOffAddr# :: Addr# -> Int# -> CUIntMax -> CUIntMax -> State# s -> (# State# s, CUIntMax #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> CUIntMax -> CUIntMax -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> CUIntMax -> CUIntMax -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (CUIntMax -> (# CUIntMax, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (CUIntMax -> (# CUIntMax, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic WordPtr Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, WordPtr #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> WordPtr -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, WordPtr #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> WordPtr -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> WordPtr -> WordPtr -> State# s -> (# State# s, WordPtr #) Source # casOffAddr# :: Addr# -> Int# -> WordPtr -> WordPtr -> State# s -> (# State# s, WordPtr #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> WordPtr -> WordPtr -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> WordPtr -> WordPtr -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (WordPtr -> (# WordPtr, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (WordPtr -> (# WordPtr, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic IntPtr Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, IntPtr #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> IntPtr -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, IntPtr #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> IntPtr -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> IntPtr -> IntPtr -> State# s -> (# State# s, IntPtr #) Source # casOffAddr# :: Addr# -> Int# -> IntPtr -> IntPtr -> State# s -> (# State# s, IntPtr #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> IntPtr -> IntPtr -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> IntPtr -> IntPtr -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (IntPtr -> (# IntPtr, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (IntPtr -> (# IntPtr, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic IOMode Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, IOMode #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> IOMode -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, IOMode #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> IOMode -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> IOMode -> IOMode -> State# s -> (# State# s, IOMode #) Source # casOffAddr# :: Addr# -> Int# -> IOMode -> IOMode -> State# s -> (# State# s, IOMode #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> IOMode -> IOMode -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> IOMode -> IOMode -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (IOMode -> (# IOMode, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (IOMode -> (# IOMode, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic GeneralCategory Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, GeneralCategory #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> GeneralCategory -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, GeneralCategory #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> GeneralCategory -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> GeneralCategory -> GeneralCategory -> State# s -> (# State# s, GeneralCategory #) Source # casOffAddr# :: Addr# -> Int# -> GeneralCategory -> GeneralCategory -> State# s -> (# State# s, GeneralCategory #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> GeneralCategory -> GeneralCategory -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> GeneralCategory -> GeneralCategory -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (GeneralCategory -> (# GeneralCategory, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (GeneralCategory -> (# GeneralCategory, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic (Ptr a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Ptr a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Ptr a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Ptr a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Ptr a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Ptr a -> Ptr a -> State# s -> (# State# s, Ptr a #) Source # casOffAddr# :: Addr# -> Int# -> Ptr a -> Ptr a -> State# s -> (# State# s, Ptr a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Ptr a -> Ptr a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Ptr a -> Ptr a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Ptr a -> (# Ptr a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Ptr a -> (# Ptr a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic (FunPtr a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, FunPtr a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> FunPtr a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, FunPtr a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> FunPtr a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> FunPtr a -> FunPtr a -> State# s -> (# State# s, FunPtr a #) Source # casOffAddr# :: Addr# -> Int# -> FunPtr a -> FunPtr a -> State# s -> (# State# s, FunPtr a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> FunPtr a -> FunPtr a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> FunPtr a -> FunPtr a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (FunPtr a -> (# FunPtr a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (FunPtr a -> (# FunPtr a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic a => Atomic (Min a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Min a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Min a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Min a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Min a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Min a -> Min a -> State# s -> (# State# s, Min a #) Source # casOffAddr# :: Addr# -> Int# -> Min a -> Min a -> State# s -> (# State# s, Min a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Min a -> Min a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Min a -> Min a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Min a -> (# Min a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Min a -> (# Min a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic a => Atomic (Max a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Max a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Max a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Max a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Max a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Max a -> Max a -> State# s -> (# State# s, Max a #) Source # casOffAddr# :: Addr# -> Int# -> Max a -> Max a -> State# s -> (# State# s, Max a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Max a -> Max a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Max a -> Max a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Max a -> (# Max a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Max a -> (# Max a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic a => Atomic (First a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, First a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> First a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, First a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> First a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> First a -> First a -> State# s -> (# State# s, First a #) Source # casOffAddr# :: Addr# -> Int# -> First a -> First a -> State# s -> (# State# s, First a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> First a -> First a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> First a -> First a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (First a -> (# First a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (First a -> (# First a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic a => Atomic (Last a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Last a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Last a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Last a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Last a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Last a -> Last a -> State# s -> (# State# s, Last a #) Source # casOffAddr# :: Addr# -> Int# -> Last a -> Last a -> State# s -> (# State# s, Last a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Last a -> Last a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Last a -> Last a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Last a -> (# Last a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Last a -> (# Last a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic a => Atomic (Identity a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Identity a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Identity a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Identity a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Identity a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Identity a -> Identity a -> State# s -> (# State# s, Identity a #) Source # casOffAddr# :: Addr# -> Int# -> Identity a -> Identity a -> State# s -> (# State# s, Identity a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Identity a -> Identity a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Identity a -> Identity a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Identity a -> (# Identity a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Identity a -> (# Identity a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic a => Atomic (Dual a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Dual a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Dual a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Dual a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Dual a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Dual a -> Dual a -> State# s -> (# State# s, Dual a #) Source # casOffAddr# :: Addr# -> Int# -> Dual a -> Dual a -> State# s -> (# State# s, Dual a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Dual a -> Dual a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Dual a -> Dual a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Dual a -> (# Dual a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Dual a -> (# Dual a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic a => Atomic (Sum a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Sum a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Sum a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Sum a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Sum a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Sum a -> Sum a -> State# s -> (# State# s, Sum a #) Source # casOffAddr# :: Addr# -> Int# -> Sum a -> Sum a -> State# s -> (# State# s, Sum a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Sum a -> Sum a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Sum a -> Sum a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Sum a -> (# Sum a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Sum a -> (# Sum a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic a => Atomic (Product a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Product a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Product a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Product a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Product a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Product a -> Product a -> State# s -> (# State# s, Product a #) Source # casOffAddr# :: Addr# -> Int# -> Product a -> Product a -> State# s -> (# State# s, Product a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Product a -> Product a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Product a -> Product a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Product a -> (# Product a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Product a -> (# Product a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic a => Atomic (Down a) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Down a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Down a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Down a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Down a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Down a -> Down a -> State# s -> (# State# s, Down a #) Source # casOffAddr# :: Addr# -> Int# -> Down a -> Down a -> State# s -> (# State# s, Down a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Down a -> Down a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Down a -> Down a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Down a -> (# Down a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Down a -> (# Down a, b #)) -> State# s -> (# State# s, b #) Source # |
(Eq a, Prim a) => Atomic (Atom a) Source # | |
Instance detailsDefined in Data.Prim.Atom Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Atom a #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Atom a -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Atom a #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Atom a -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Atom a -> Atom a -> State# s -> (# State# s, Atom a #) Source # casOffAddr# :: Addr# -> Int# -> Atom a -> Atom a -> State# s -> (# State# s, Atom a #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Atom a -> Atom a -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Atom a -> Atom a -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Atom a -> (# Atom a, b #)) -> State# s -> (# State# s, b #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Atom a -> (# Atom a, b #)) -> State# s -> (# State# s, b #) Source # |
Atomic a => Atomic (Const a b) Source # | |
Instance detailsDefined in Data.Prim.Atomic Methods atomicReadMutableByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Const a b #) Source # atomicWriteMutableByteArray# :: MutableByteArray# s -> Int# -> Const a b -> State# s -> State# s Source # atomicReadOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, Const a b #) Source # atomicWriteOffAddr# :: Addr# -> Int# -> Const a b -> State# s -> State# s Source # casMutableByteArray# :: MutableByteArray# s -> Int# -> Const a b -> Const a b -> State# s -> (# State# s, Const a b #) Source # casOffAddr# :: Addr# -> Int# -> Const a b -> Const a b -> State# s -> (# State# s, Const a b #) Source # casBoolMutableByteArray# :: MutableByteArray# s -> Int# -> Const a b -> Const a b -> State# s -> (# State# s, Bool #) Source # casBoolOffAddr# :: Addr# -> Int# -> Const a b -> Const a b -> State# s -> (# State# s, Bool #) Source # atomicModifyMutableByteArray# :: MutableByteArray# s -> Int# -> (Const a b -> (# Const a b, b0 #)) -> State# s -> (# State# s, b0 #) Source # atomicModifyOffAddr# :: Addr# -> Int# -> (Const a b -> (# Const a b, b0 #)) -> State# s -> (# State# s, b0 #) Source # |