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.

  1. ThreadAbort :: ThreadAbort

    streamly Streamly.Internal.Data.Channel

    No documentation available.

  2. addThread :: MonadIO m => IORef (Set ThreadId) -> ThreadId -> m ()

    streamly Streamly.Internal.Data.Channel

    No documentation available.

  3. allThreadsDone :: MonadIO m => IORef (Set ThreadId) -> m Bool

    streamly Streamly.Internal.Data.Channel

    This is safe even if we are adding more threads concurrently because if a child thread is adding another thread then anyway workerThreads will not be empty.

  4. boundThreads :: Bool -> Config -> Config

    streamly Streamly.Internal.Data.Channel

    Spawn bound threads (i.e., spawn threads using forkOS instead of forkIO). The default value is False. Currently, this only takes effect only for concurrent folds.

  5. delThread :: MonadIO m => IORef (Set ThreadId) -> ThreadId -> m ()

    streamly Streamly.Internal.Data.Channel

    No documentation available.

  6. dumpRunningThreads :: Show a => IORef a -> IO String

    streamly Streamly.Internal.Data.Channel

    No documentation available.

  7. getMaxThreads :: Config -> Limit

    streamly Streamly.Internal.Data.Channel

    No documentation available.

  8. maxThreads :: Int -> Config -> Config

    streamly Streamly.Internal.Data.Channel

    Specify the maximum number of threads that can be spawned by the channel. A value of 0 resets the thread limit to default, a negative value means there is no limit. The default value is 1500. When the actions in a stream are IO bound, having blocking IO calls, this option can be used to control the maximum number of in-flight IO requests. When the actions are CPU bound this option can be used to control the amount of CPU used by the stream.

  9. minThreadDelay :: NanoSecond64

    streamly Streamly.Internal.Data.Channel

    This is a magic number and it is overloaded, and used at several places to achieve batching:

    1. If we have to sleep to slowdown this is the minimum period that we accumulate before we sleep. Also, workers do not stop until this much sleep time is accumulated.
    2. Collected latencies are computed and transferred to measured latency after a minimum of this period.

  10. modifyThread :: MonadIO m => IORef (Set ThreadId) -> MVar () -> ThreadId -> m ()

    streamly Streamly.Internal.Data.Channel

    No documentation available.

Page 823 of many | Previous | Next