-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Bindings for the pthread library. -- -- Bindings for the pthread library. @package pthread @version 0.1 -- | PThread bindings module Foreign.Concurrent.PThread -- | Stands for pthread_key_t. data Key -- | Stands for pthread_key_create. keyCreate :: FunPtr (Ptr a -> IO ()) -> IO Key -- | Stands for pthread_key_delete. keyDelete :: Key -> IO () -- | Stands for pthread_setspecific. setSpecific :: Key -> Ptr a -> IO () -- | Stands for pthread_getspecific. getSpecific :: Key -> IO (Ptr a) instance Foreign.Storable.Storable Foreign.Concurrent.PThread.Key instance GHC.Show.Show Foreign.Concurrent.PThread.Key instance GHC.Classes.Ord Foreign.Concurrent.PThread.Key instance GHC.Classes.Eq Foreign.Concurrent.PThread.Key