Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
addCommitThreads :: forall (n :: Type -> Type) . WriteBuffer n -> Threads n -> Threads ndejafu Test.DejaFu.Conc.Internal.Memory Add phantom threads to the thread list to commit pending writes.
commitThreadId :: ThreadId -> Maybe IORefId -> ThreadIddejafu Test.DejaFu.Conc.Internal.Memory The ID of a commit thread.
delCommitThreads :: forall (n :: Type -> Type) . Threads n -> Threads ndejafu Test.DejaFu.Conc.Internal.Memory Remove phantom threads.
-
dejafu Test.DejaFu.Conc.Internal.Memory Try to read from a MVar, not blocking if empty.
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.