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. threadPoolSetMaxThreads :: (HasCallStack, MonadIO m) => ThreadPool -> Int32 -> m ()

    gi-glib GI.GLib.Structs.ThreadPool

    Sets the maximal allowed number of threads for pool. A value of -1 means that the maximal number of threads is unlimited. If pool is an exclusive thread pool, setting the maximal number of threads to -1 is not allowed. Setting maxThreads to 0 means stopping all work for pool. It is effectively frozen until maxThreads is set to a non-zero value again. A thread is never terminated while calling func, as supplied by g_thread_pool_new(). Instead the maximal number of threads only has effect for the allocation of new threads in threadPoolPush. A new thread is allocated, whenever the number of currently running threads in pool is smaller than the maximal number. error can be Nothing to ignore errors, or non-Nothing to report errors. An error can only occur when a new thread couldn't be created. Before version 2.32, this function did not return a success status.

  2. threadPoolSetMaxUnusedThreads :: (HasCallStack, MonadIO m) => Int32 -> m ()

    gi-glib GI.GLib.Structs.ThreadPool

    Sets the maximal number of unused threads to maxThreads. If maxThreads is -1, no limit is imposed on the number of unused threads. The default value is 2.

  3. threadPoolStopUnusedThreads :: (HasCallStack, MonadIO m) => m ()

    gi-glib GI.GLib.Structs.ThreadPool

    Stops all currently unused threads. This does not change the maximal number of unused threads. This function can be used to regularly stop all unused threads e.g. from g_timeout_add().

  4. threadPoolUnprocessed :: (HasCallStack, MonadIO m) => ThreadPool -> m Word32

    gi-glib GI.GLib.Structs.ThreadPool

    Returns the number of tasks still unprocessed in pool.

  5. ParamFlagsReadable :: ParamFlags

    gi-gobject GI.GObject.Flags

    the parameter is readable

  6. ParamFlagsReadwrite :: ParamFlags

    gi-gobject GI.GObject.Flags

    alias for ParamFlagsReadable | ParamFlagsWritable

  7. KW_Threadsafe :: Token

    haskell-src-exts Language.Haskell.Exts

    No documentation available.

  8. KW_Threadsafe :: Token

    haskell-src-exts Language.Haskell.Exts.Lexer

    No documentation available.

  9. threadsafe_name :: l -> Name l

    haskell-src-exts Language.Haskell.Exts.Syntax

    No documentation available.

  10. unsafeReadMatrix :: Storable t => STMatrix s t -> Int -> Int -> ST s t

    hmatrix Numeric.LinearAlgebra.Devel

    No documentation available.

Page 489 of many | Previous | Next