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.
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.
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.
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().
threadPoolUnprocessed :: (HasCallStack, MonadIO m) => ThreadPool -> m Word32gi-glib GI.GLib.Structs.ThreadPool Returns the number of tasks still unprocessed in pool.
ParamFlagsReadable :: ParamFlagsgi-gobject GI.GObject.Flags the parameter is readable
ParamFlagsReadwrite :: ParamFlagsgi-gobject GI.GObject.Flags alias for ParamFlagsReadable | ParamFlagsWritable
-
haskell-src-exts Language.Haskell.Exts No documentation available.
-
haskell-src-exts Language.Haskell.Exts.Lexer No documentation available.
threadsafe_name :: l -> Name lhaskell-src-exts Language.Haskell.Exts.Syntax No documentation available.
unsafeReadMatrix :: Storable t => STMatrix s t -> Int -> Int -> ST s thmatrix Numeric.LinearAlgebra.Devel No documentation available.