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 () |
#define | AGS_IS_RETURNABLE_THREAD() |
#define | AGS_IS_RETURNABLE_THREAD_CLASS() |
#define | AGS_RETURNABLE_THREAD() |
#define | AGS_RETURNABLE_THREAD_CLASS() |
#define | AGS_RETURNABLE_THREAD_GET_CLASS() |
|
ags_returnable_thread_get_type () |
Types and Values
#define | AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE |
enum | AgsReturnableThreadFlags |
#define | AGS_TYPE_RETURNABLE_THREAD |
struct | AgsReturnableThread |
struct | AgsReturnableThreadClass |
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:
AGS_IS_RETURNABLE_THREAD()
#define AGS_IS_RETURNABLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RETURNABLE_THREAD))
AGS_IS_RETURNABLE_THREAD_CLASS()
#define AGS_IS_RETURNABLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_RETURNABLE_THREAD))
AGS_RETURNABLE_THREAD()
#define AGS_RETURNABLE_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RETURNABLE_THREAD, AgsReturnableThread))
AGS_RETURNABLE_THREAD_CLASS()
#define AGS_RETURNABLE_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_RETURNABLE_THREAD, AgsReturnableThreadClass))
AGS_RETURNABLE_THREAD_GET_CLASS()
#define AGS_RETURNABLE_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_RETURNABLE_THREAD, AgsReturnableThreadClass))
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: