primitive-unlifted-2.1.0.0: Primitive GHC types with unlifted types inside
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Primitive.Unlifted.MVar.ST

Description

This module includes all the features of Control.Concurrent.MVar, except that the functions in Data.Primitive.Unlifted.Weak subsume the functionality of mkWeakMV and addMVarFinalizer, so we do not include analogues of those functions.

Documentation

data UnliftedMVar_ s a unlifted_a Source #

Constructors

UnliftedMVar (UnliftedMVar# s unlifted_a) 

Instances

Instances details
unlifted_a ~ Unlifted a => Eq (UnliftedMVar_ s a unlifted_a) Source # 
Instance details

Defined in Data.Primitive.Unlifted.MVar.ST

Methods

(==) :: UnliftedMVar_ s a unlifted_a -> UnliftedMVar_ s a unlifted_a -> Bool #

(/=) :: UnliftedMVar_ s a unlifted_a -> UnliftedMVar_ s a unlifted_a -> Bool #

unlifted_a ~ Unlifted a => PrimUnlifted (UnliftedMVar_ s a unlifted_a) Source # 
Instance details

Defined in Data.Primitive.Unlifted.MVar.ST

Associated Types

type Unlifted (UnliftedMVar_ s a unlifted_a) :: UnliftedType Source #

Methods

toUnlifted# :: UnliftedMVar_ s a unlifted_a -> Unlifted (UnliftedMVar_ s a unlifted_a) Source #

fromUnlifted# :: Unlifted (UnliftedMVar_ s a unlifted_a) -> UnliftedMVar_ s a unlifted_a Source #

type Unlifted (UnliftedMVar_ s a unlifted_a) Source # 
Instance details

Defined in Data.Primitive.Unlifted.MVar.ST

type Unlifted (UnliftedMVar_ s a unlifted_a) = UnliftedMVar# s unlifted_a