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.
WillReadMVar :: MVarId -> Lookaheaddejafu Test.DejaFu.Types Will read from a MVar.
WillSupportsBoundThreads :: Lookaheaddejafu Test.DejaFu.Types Will check if bound threads are supported.
WillThreadDelay :: Int -> Lookaheaddejafu Test.DejaFu.Types Will yield/delay the current thread.
WillTryReadMVar :: MVarId -> Lookaheaddejafu Test.DejaFu.Types Will try to read from a MVar.
forkBoundThread :: MonadDejaFu m => Maybe (m (BoundThread m a))dejafu Test.DejaFu.Types Fork a new bound thread, if the monad supports them.
-
dejafu Test.DejaFu.Types The ID of the initial thread.
iobtKillBoundThread :: IOBoundThread a -> IO ()dejafu Test.DejaFu.Types Terminate the bound thread.
iobtRunInBoundThread :: IOBoundThread a -> IO a -> IO adejafu Test.DejaFu.Types Pass an action to the bound thread, run it, and return the result to this thread.
killBoundThread :: MonadDejaFu m => BoundThread m a -> m ()dejafu Test.DejaFu.Types Terminate a previously created bound thread. After termination, runInBoundThread and killBoundThread will never be called on this BoundThread m a value again.
runInBoundThread :: MonadDejaFu m => BoundThread m a -> m a -> m adejafu Test.DejaFu.Types Run an action in a previously created bound thread.