pthread-0.1.1: Bindings for the pthread library.
Foreign.Concurrent.PThread
Contents
Description
PThread bindings
Synopsis
data Key Source #
Stands for pthread_key_t.
pthread_key_t
Instances
Methods
(==) :: Key -> Key -> Bool #
(/=) :: Key -> Key -> Bool #
compare :: Key -> Key -> Ordering #
(<) :: Key -> Key -> Bool #
(<=) :: Key -> Key -> Bool #
(>) :: Key -> Key -> Bool #
(>=) :: Key -> Key -> Bool #
max :: Key -> Key -> Key #
min :: Key -> Key -> Key #
showsPrec :: Int -> Key -> ShowS #
show :: Key -> String #
showList :: [Key] -> ShowS #
sizeOf :: Key -> Int #
alignment :: Key -> Int #
peekElemOff :: Ptr Key -> Int -> IO Key #
pokeElemOff :: Ptr Key -> Int -> Key -> IO () #
peekByteOff :: Ptr b -> Int -> IO Key #
pokeByteOff :: Ptr b -> Int -> Key -> IO () #
peek :: Ptr Key -> IO Key #
poke :: Ptr Key -> Key -> IO () #
keyCreate :: FunPtr (Ptr a -> IO ()) -> IO Key Source #
Stands for pthread_key_create.
pthread_key_create
keyDelete :: Key -> IO () Source #
Stands for pthread_key_delete.
pthread_key_delete
setSpecific :: Key -> Ptr a -> IO () Source #
Stands for pthread_setspecific.
pthread_setspecific
getSpecific :: Key -> IO (Ptr a) Source #
Stands for pthread_getspecific.
pthread_getspecific