Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.Primitive.Unlifted.MVar.Primops
Documentation
data UnliftedMVar# s (a :: UnliftedType) #
newUnliftedMVar# :: State# s -> (# State# s, UnliftedMVar# s a #) #
takeUnliftedMVar# :: UnliftedMVar# s a -> State# s -> (# State# s, a #) #
tryTakeUnliftedMVar# :: UnliftedMVar# s a -> State# s -> (# State# s, (# (# #) | a #) #) #
putUnliftedMVar# :: UnliftedMVar# s a -> a -> State# s -> State# s #
tryPutUnliftedMVar# :: UnliftedMVar# s a -> a -> State# s -> (# State# s, Int# #) #
readUnliftedMVar# :: UnliftedMVar# s a -> State# s -> (# State# s, a #) #
tryReadUnliftedMVar# :: UnliftedMVar# s a -> State# s -> (# State# s, (# (# #) | a #) #) #
sameUnliftedMVar# :: UnliftedMVar# s a -> UnliftedMVar# s a -> Int# #
isEmptyUnliftedMVar# :: UnliftedMVar# s a -> State# s -> (# State# s, Int# #) #