Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
threadsFromSnapshot :: forall p (n :: Type -> Type) a . Snapshot p n a -> ([ThreadId], [ThreadId])dejafu Test.DejaFu.Conc.Internal.Program Get the threads which exist in a snapshot, partitioned into runnable and not runnable.
SRead :: ModelTVar n a -> (a -> STMAction n) -> STMAction (n :: Type -> Type)dejafu Test.DejaFu.Conc.Internal.STM No documentation available.
module Test.DejaFu.Conc.Internal.
Threading Operations and types for threads. This module is NOT considered to form part of the public interface of this library.
data
Thread (n :: Type -> Type)dejafu Test.DejaFu.Conc.Internal.Threading All the state of a thread.
-
dejafu Test.DejaFu.Conc.Internal.Threading No documentation available.
type
Threads (n :: Type -> Type) = Map ThreadId Thread ndejafu Test.DejaFu.Conc.Internal.Threading Threads are stored in a map index by ThreadId.
mkthread :: forall (n :: Type -> Type) . Action n -> Thread ndejafu Test.DejaFu.Conc.Internal.Threading Construct a thread with just one action
SynchronisedRead :: MVarId -> ActionTypedejafu Test.DejaFu.Internal A readMVar or takeMVar (or try/blocked variants).
UnsynchronisedRead :: IORefId -> ActionTypedejafu Test.DejaFu.Internal A readIORef or a readForCAS.
tvarsRead :: ThreadAction -> Set TVarIddejafu Test.DejaFu.Internal Get the TVars a transaction read from.