Class

AgsThreadPool

[]

Description

class Ags.ThreadPool : GObject.Object
{
  flags: volatile guint,
  max_unused_threads: volatile guint,
  max_threads: volatile guint,
  thread: GThread*,
  queued: volatile guint,
  creation_mutex: GMutex,
  creation_cond: GCond,
  create_threads: volatile gboolean,
  idle: volatile gboolean,
  idle_mutex: GMutex,
  idle_cond: GCond,
  parent: AgsThread*,
  returnable_thread: volatile GList*
}

No description available.

[]

Ancestors

[]

Constructors

ags_thread_pool_new

Create a new AgsThreadPool.

since: 3.0.0

[]

Instance methods

ags_thread_pool_pull

Pull a previously instantiated AgsReturnableThread. Note this function may block until a new thread is available.

since: 3.0.0

ags_thread_pool_start

Start the thread pool.

since: 3.0.0

Methods inherited from GObject (43)
[]

Properties

Ags.ThreadPool:max-threads

The maximum amount of threads available.

since: 3.0.0

Ags.ThreadPool:max-unused-threads

The maximum amount of unused threads available.

since: 3.0.0

[]

Signals

Ags.ThreadPool::start

The ::start() signal is invoked in order to started the pool.

since: 3.0.0

Signals inherited from GObject (1)

Class structure

[]

Virtual methods

Ags.ThreadPoolClass.start

Start the thread pool.

since: 3.0.0