Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. getThreadPoolExclusive :: MonadIO m => ThreadPool -> m Bool

    gi-glib GI.GLib.Structs.ThreadPool

    Get the value of the “exclusive” field. When overloading is enabled, this is equivalent to

    get threadPool #exclusive
    

  2. getThreadPoolFunc :: MonadIO m => ThreadPool -> m (Maybe Func_WithClosures)

    gi-glib GI.GLib.Structs.ThreadPool

    Get the value of the “func” field. When overloading is enabled, this is equivalent to

    get threadPool #func
    

  3. getThreadPoolUserData :: MonadIO m => ThreadPool -> m (Ptr ())

    gi-glib GI.GLib.Structs.ThreadPool

    Get the value of the “user_data” field. When overloading is enabled, this is equivalent to

    get threadPool #userData
    

  4. newZeroThreadPool :: MonadIO m => m ThreadPool

    gi-glib GI.GLib.Structs.ThreadPool

    Construct a ThreadPool struct initialized to zero.

  5. setThreadPoolExclusive :: MonadIO m => ThreadPool -> Bool -> m ()

    gi-glib GI.GLib.Structs.ThreadPool

    Set the value of the “exclusive” field. When overloading is enabled, this is equivalent to

    set threadPool [ #exclusive := value ]
    

  6. setThreadPoolFunc :: MonadIO m => ThreadPool -> FunPtr C_Func -> m ()

    gi-glib GI.GLib.Structs.ThreadPool

    Set the value of the “func” field. When overloading is enabled, this is equivalent to

    set threadPool [ #func := value ]
    

  7. setThreadPoolUserData :: MonadIO m => ThreadPool -> Ptr () -> m ()

    gi-glib GI.GLib.Structs.ThreadPool

    Set the value of the “user_data” field. When overloading is enabled, this is equivalent to

    set threadPool [ #userData := value ]
    

  8. threadPoolFree :: (HasCallStack, MonadIO m) => ThreadPool -> Bool -> Bool -> m ()

    gi-glib GI.GLib.Structs.ThreadPool

    Frees all resources allocated for pool. If immediate is True, no new task is processed for pool. Otherwise pool is not freed before the last task is processed. Note however, that no thread of this pool is interrupted while processing a task. Instead at least all still running threads can finish their tasks before the pool is freed. If wait_ is True, this function does not return before all tasks to be processed (dependent on immediate, whether all or only the currently running) are ready. Otherwise this function returns immediately. After calling this function pool must not be used anymore.

  9. threadPoolGetMaxIdleTime :: (HasCallStack, MonadIO m) => m Word32

    gi-glib GI.GLib.Structs.ThreadPool

    This function will return the maximum interval that a thread will wait in the thread pool for new tasks before being stopped. If this function returns 0, threads waiting in the thread pool for new work are not stopped. Since: 2.10

  10. threadPoolGetMaxThreads :: (HasCallStack, MonadIO m) => ThreadPool -> m Int32

    gi-glib GI.GLib.Structs.ThreadPool

    Returns the maximal number of threads for pool.

Page 487 of many | Previous | Next