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