Top |
The AgsReturnableThread acts as thread. It should return after a short while because of limited thread pool.
void (*AgsReturnableThreadCallback) (AgsReturnableThread *returnable_thread
,gpointer data
);
void
ags_returnable_thread_safe_run (AgsReturnableThread *returnable_thread
);
void ags_returnable_thread_connect_safe_run (AgsReturnableThread *returnable_thread
,AgsReturnableThreadCallback callback
);
Connects callback
to thread
.
Since: 0.4
void
ags_returnable_thread_disconnect_safe_run
(AgsReturnableThread *returnable_thread
);
Disconnects callback of thread
.
Since: 0.4
AgsReturnableThread *
ags_returnable_thread_new (GObject *thread_pool
);
Create a new AgsReturnableThread.
Since: 0.4
#define AGS_RETURNABLE_THREAD_DEFAULT_JIFFIE (AGS_THREAD_MAX_PRECISION)
“safe-run”
signalvoid user_function (AgsReturnableThread *agsreturnablethread, gpointer user_data)
Flags: Run Last