Top |
pthread_mutex_t * | ags_main_loop_get_tree_lock () |
void | ags_main_loop_set_application_context () |
AgsApplicationContext * | ags_main_loop_get_application_context () |
void | ags_main_loop_set_async_queue () |
GObject * | ags_main_loop_get_async_queue () |
void | ags_main_loop_set_tic () |
guint | ags_main_loop_get_tic () |
void | ags_main_loop_set_last_sync () |
guint | ags_main_loop_get_last_sync () |
void | ags_main_loop_interrupt () |
gboolean | ags_main_loop_monitor () |
AgsMainLoop is implemented by AgsAudioLoop, AgsAutosaveThread and AgsGenericMainLoop.
pthread_mutex_t *
ags_main_loop_get_tree_lock (AgsMainLoop *main_loop
);
Retrieve the tree mutex.
Since: 0.6
void ags_main_loop_set_application_context (AgsMainLoop *main_loop
,AgsApplicationContext *application_context
);
Sets the application context.
Since: 0.6.0
AgsApplicationContext *
ags_main_loop_get_application_context (AgsMainLoop *main_loop
);
Retrieve the AgsApplicationContext.
Since: 0.6.0
void ags_main_loop_set_async_queue (AgsMainLoop *main_loop
,GObject *async_queue
);
Sets the asynchronous queue.
Since: 0.4
GObject *
ags_main_loop_get_async_queue (AgsMainLoop *main_loop
);
Retrieve the AgsAsyncQueue.
Since: 0.4
void ags_main_loop_set_tic (AgsMainLoop *main_loop
,guint tic
);
Sets tic to tic
.
Since: 0.4
guint
ags_main_loop_get_tic (AgsMainLoop *main_loop
);
Retrieve current tic of synchronization context.
Since: 0.4
void ags_main_loop_set_last_sync (AgsMainLoop *main_loop
,guint last_sync
);
Sets last sync to last_sync
.
Since: 0.4
guint
ags_main_loop_get_last_sync (AgsMainLoop *main_loop
);
Retrieve last sync as tic of synchronization context.
Since: 0.4
void ags_main_loop_interrupt (AgsMainLoop *main_loop
,int sig
,guint time_cycle
,guint *time_spent
);
Notify about interrupt threads.
main_loop |
the AgsMainLoop |
|
sig |
the singal number |
|
time_cycle |
the amount of time of a cycle |
|
time_spent |
the amount of time passed since last cycle |
Since: 0.7.46
gboolean ags_main_loop_monitor (AgsMainLoop *main_loop
,guint time_cycle
,guint *time_spent
);
Notify to monitor time.
main_loop |
the AgsMainLoop |
|
time_cycle |
the amount of time of a cycle |
|
time_spent |
the amount of time passed since last cycle |
Since: 0.7.46