Class

AgsWorkerThread

Description

class Ags.WorkerThread : Ags.Thread {
  thread: AgsThread,
  status_flags: volatile guint,
  run_mutex: GMutex,
  run_cond: GCond,
  worker_thread: GThread*
}
No description available.

Ancestors

Descendants

Implements

Constructors

ags_worker_thread_new

Create a new instance of AgsWorkerThread.

since: 3.0.0

Instance methods

ags_worker_thread_do_poll

Do poll your work. It is called of the worker thread.

since: 3.0.0

ags_worker_thread_set_status_flags

Set status flags.

since: 3.0.0

ags_worker_thread_test_status_flags

Test status_flags of worker_thread.

since: 3.0.0

ags_worker_thread_unset_status_flags

Unset status flags.

since: 3.0.0

Methods inherited from AgsThread (45)

Please see AgsThread for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from AgsConnectable (13)
ags_connectable_add_to_registry

Add connectable to registry.

since: 3.0.0

ags_connectable_connect

Connect the connectable.

since: 3.0.0

ags_connectable_connect_connection

Disconnect the connectable.

since: 3.0.0

ags_connectable_disconnect

Disconnect the connectable.

since: 3.0.0

ags_connectable_disconnect_connection

Disconnect the connectable.

since: 3.0.0

ags_connectable_get_uuid

Get UUID of connectable.

since: 3.0.0

ags_connectable_has_resource

Check the connectable to have resources.

since: 3.0.0

ags_connectable_is_connected

Check if the connectable was connected.

since: 3.0.0

ags_connectable_is_ready

Connect the connectable.

since: 3.0.0

ags_connectable_list_resource

List resources as an XML element and return it.

since: 3.0.0

ags_connectable_remove_from_registry

Remove connectable from registry.

since: 3.0.0

ags_connectable_xml_compose

Compose an XML element and return it.

since: 3.0.0

ags_connectable_xml_parse

Parse node as XML element and apply it.

since: 3.0.0

Properties

Properties inherited from AgsThread (3)
Ags.Thread:delay

The delay until next tic.

since: 3.0.0

Ags.Thread:frequency

The frequency to run at in Hz.

since: 3.0.0

Ags.Thread:max-precision

The max-frequency to run at in Hz.

since: 3.0.0

Signals

Ags.WorkerThread::do-poll

The ::do_poll() signal runs independently of ::run() but might be synchronized using a conditional lock.

since: 3.0.0

Signals inherited from AgsThread (4)
AgsThread::clock

The ::clock() signal is invoked every thread tic.

since: 3.0.0

AgsThread::run

The ::run() signal is invoked during run loop.

since: 3.0.0

AgsThread::start

The ::start() signal is invoked as thread started.

since: 3.0.0

AgsThread::stop

The ::stop() signal is invoked as thread stopped.

since: 3.0.0

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AgsWorkerThreadClass {
  AgsThreadClass thread;
  void (* do_poll) (
    AgsWorkerThread* worker_thread
  );
  
}
No description available.
Class members
thread: AgsThreadClass
No description available.
do_poll: void (* do_poll) ( AgsWorkerThread* worker_thread )
No description available.

Virtual methods

Ags.WorkerThreadClass.do_poll

Do poll your work. It is called of the worker thread.

since: 3.0.0