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.

  1. stepThread :: (MonadDejaFu n, HasCallStack) => Bool -> Bool -> Scheduler g -> MemType -> ThreadId -> Action n -> Context n g -> n (What n g, ThreadAction, Threads n -> n ())

    dejafu Test.DejaFu.Conc.Internal

    Run a single thread one step, by dispatching on the type of Action. Each case looks very similar. This is deliberate, so that the essential differences between actions are more apparent, and not hidden by accidental differences in how things are expressed. Note: the returned snapshot action will definitely not do the right thing with relaxed memory.

  2. AReadIORef :: ModelIORef n a -> (a -> Action n) -> Action (n :: Type -> Type)

    dejafu Test.DejaFu.Conc.Internal.Common

    No documentation available.

  3. AReadIORefCas :: ModelIORef n a -> (ModelTicket a -> Action n) -> Action (n :: Type -> Type)

    dejafu Test.DejaFu.Conc.Internal.Common

    No documentation available.

  4. AReadMVar :: ModelMVar n a -> (a -> Action n) -> Action (n :: Type -> Type)

    dejafu Test.DejaFu.Conc.Internal.Common

    No documentation available.

  5. ASupportsBoundThreads :: (Bool -> Action n) -> Action (n :: Type -> Type)

    dejafu Test.DejaFu.Conc.Internal.Common

    No documentation available.

  6. ATryReadMVar :: ModelMVar n a -> (Maybe a -> Action n) -> Action (n :: Type -> Type)

    dejafu Test.DejaFu.Conc.Internal.Common

    No documentation available.

  7. addCommitThreads :: forall (n :: Type -> Type) . WriteBuffer n -> Threads n -> Threads n

    dejafu Test.DejaFu.Conc.Internal.Memory

    Add phantom threads to the thread list to commit pending writes.

  8. commitThreadId :: ThreadId -> Maybe IORefId -> ThreadId

    dejafu Test.DejaFu.Conc.Internal.Memory

    The ID of a commit thread.

  9. delCommitThreads :: forall (n :: Type -> Type) . Threads n -> Threads n

    dejafu Test.DejaFu.Conc.Internal.Memory

    Remove phantom threads.

  10. tryReadFromMVar :: MonadDejaFu n => ModelMVar n a -> (Maybe a -> Action n) -> ThreadId -> Threads n -> n (Bool, Threads n, [ThreadId], n ())

    dejafu Test.DejaFu.Conc.Internal.Memory

    Try to read from a MVar, not blocking if empty.

Page 655 of many | Previous | Next