Top |
Functions
|
(*AgsReturnableThreadCallback) () |
|
ags_returnable_thread_test_flags () |
|
ags_returnable_thread_set_flags () |
|
ags_returnable_thread_unset_flags () |
|
ags_returnable_thread_safe_run () |
|
ags_returnable_thread_connect_safe_run () |
|
ags_returnable_thread_disconnect_safe_run () |
AgsReturnableThread * | ags_returnable_thread_new () |
Description
The AgsReturnableThread acts as thread. It should return after a short while because of limited thread pool.
Functions
AgsReturnableThreadCallback ()
void (*AgsReturnableThreadCallback) (AgsReturnableThread *returnable_thread
,);
gpointer data
ags_returnable_thread_test_flags ()
gboolean ags_returnable_thread_test_flags (AgsReturnableThread *returnable_thread
,);
guint flags
Test flags
to be set on returnable_thread
.
Since:
ags_returnable_thread_set_flags ()
void ags_returnable_thread_set_flags (AgsReturnableThread *returnable_thread
,);
guint flags
Set flags.
Since:
ags_returnable_thread_unset_flags ()
void ags_returnable_thread_unset_flags (AgsReturnableThread *returnable_thread
,);
guint flags
Unset flags.
Since:
ags_returnable_thread_safe_run ()
void ags_returnable_thread_safe_run (AgsReturnableThread *returnable_thread
);
ags_returnable_thread_connect_safe_run ()
void ags_returnable_thread_connect_safe_run (AgsReturnableThread *returnable_thread
,AgsReturnableThreadCallback callback
);
Connects callback
to thread
.
Since:
ags_returnable_thread_disconnect_safe_run ()
void ags_returnable_thread_disconnect_safe_run (AgsReturnableThread *returnable_thread
);
Disconnects callback of thread
.
Since:
ags_returnable_thread_new ()
AgsReturnableThread *
ags_returnable_thread_new (GObject *thread_pool
);
Create a new instance of AgsReturnableThread.
Since:
Types and Values
AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE
#define AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE (AGS_THREAD_DEFAULT_MAX_PRECISION)
enum AgsReturnableThreadFlags
Enum values to control the behavior or indicate internal state of AgsReturnableThread by enable/disable as flags.
Property Details
The “thread-pool”
property
“thread-pool”GObject *
The assigned AgsThreadPool providing default settings.
Owner: AgsReturnableThread
Flags: Read / Write
Since:
Signal Details
The “safe-run”
signal
void user_function (AgsReturnableThread *returnable_thread,gpointer user_data)
The ::safe-run is invoked durin AgsThread::run as a context safe wrapper.
Flags:
Since: