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.
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.
threadNames :: Trace -> [(Int, String)]dejafu Test.DejaFu.Utils Get all named threads in the trace.
cairoSpreadMethod :: SpreadMethod -> Extenddiagrams-cairo Diagrams.Backend.Cairo.Internal No documentation available.
-
effectful Effectful.Concurrent A ThreadId is an abstract type representing a handle to a thread. ThreadId is an instance of Eq, Ord and Show, where the Ord instance implements an arbitrary total ordering over ThreadIds. The Show instance lets you convert an arbitrary-valued ThreadId to string form; showing a ThreadId value is occasionally useful when debugging or diagnosing the behaviour of a concurrent program. Note: in GHC, if you have a ThreadId, you essentially have a pointer to the thread itself. This means the thread itself can't be garbage collected until you drop the ThreadId. This misfeature would be difficult to correct while continuing to support threadStatus.
rtsSupportsBoundThreads :: Booleffectful Effectful.Concurrent True if bound threads are supported. If rtsSupportsBoundThreads is False, isCurrentThreadBound will always return False and both forkOS and runInBoundThread will fail.
-
effectful Effectful.Concurrent Lifted runInBoundThread.
-
effectful Effectful.Concurrent Lifted runInUnboundThread.