Class

AgsReturnableThread

Description

class Ags.ReturnableThread : Ags.Thread {
  thread: AgsThread,
  flags: volatile guint,
  thread_pool: GObject*,
  reset_mutex: GRecMutex,
  safe_data: void*,
  handler: gulong
}
No description available.

Ancestors

Implements

Constructors

ags_returnable_thread_new

Create a new instance of AgsReturnableThread.

since: 3.0.0

Instance methods

ags_returnable_thread_connect_safe_run

Connects callback to thread.

since: 3.0.0

ags_returnable_thread_disconnect_safe_run

Disconnects callback of thread.

since: 3.0.0

ags_returnable_thread_safe_run
No description available.

ags_returnable_thread_set_flags

Set flags.

since: 3.0.0

ags_returnable_thread_test_flags

Test flags to be set on returnable_thread.

since: 3.0.0

ags_returnable_thread_unset_flags

Unset 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

Ags.ReturnableThread:thread-pool

The assigned AgsThreadPool providing default settings.

since: 3.0.0

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.ReturnableThread::safe-run

The ::safe-run is invoked durin AgsThread::run as a context safe wrapper.

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 AgsReturnableThreadClass {
  AgsThreadClass thread;
  void (* safe_run) (
    AgsReturnableThread* returnable_thread
  );
  
}
No description available.
Class members
thread: AgsThreadClass
No description available.
safe_run: void (* safe_run) ( AgsReturnableThread* returnable_thread )
No description available.

Virtual methods

Ags.ReturnableThreadClass.safe_run
No description available.