Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_THREAD_RESUME_SIG |
#define | AGS_THREAD_SUSPEND_SIG |
enum | AgsThreadFlags |
struct | AgsAccountingTable |
The
void ags_accounting_table_set_sanity (,
GList *table,
AgsThread *thread);
gdouble sanity
void ags_thread_set_sync (,
AgsThread *thread);
guint tic
Calls ags_thread_set_sync()
on all threads.
Since 0.4
void ags_thread_lock ();
AgsThread *thread
Locks the threads own mutex and sets the appropriate flag.
Since 0.4
gboolean ags_thread_trylock ();
AgsThread *thread
Locks the threads own mutex if available and sets the
appropriate flag and returning TRUE
FALSE
Since 0.4
void ags_thread_unlock ();
AgsThread *thread
Unlocks the threads own mutex and unsets the appropriate flag.
Since 0.4
AgsThread * ags_thread_get_toplevel ();
AgsThread *thread
Retrieve toplevel thread.
Since 0.4
AgsThread * ags_thread_first ();
AgsThread *thread
Retrieve first sibling.
Since 0.4
AgsThread * ags_thread_last ();
AgsThread *thread
Retrieve last sibling.
Since 0.4
void ags_thread_remove_child (,
AgsThread *thread);
AgsThread *child
Remove child of thread.
Since 0.4
void ags_thread_add_child (,
AgsThread *thread);
AgsThread *child
Add child to thread.
Since 0.4
gboolean ags_thread_parental_is_locked (,
AgsThread *thread);
AgsThread *parent
Check the AGS_THREAD_LOCKED flag in parental levels.
Since 0.4
gboolean ags_thread_sibling_is_locked ();
AgsThread *thread
Check the AGS_THREAD_LOCKED flag within sibling.
Since 0.4
gboolean ags_thread_children_is_locked ();
AgsThread *thread
Check the AGS_THREAD_LOCKED flag within children.
Since 0.4
AgsThread * ags_thread_next_parent_locked (,
AgsThread *thread);
AgsThread *parent
Retrieve next locked thread above thread
.
Since 0.4
AgsThread * ags_thread_next_sibling_locked ();
AgsThread *thread
Retrieve next locked thread neighbooring thread
Since 0.4
AgsThread * ags_thread_next_children_locked ();
AgsThread *thread
Retrieve next locked thread following thread
Since 0.4
void ags_thread_lock_parent (,
AgsThread *thread);
AgsThread *parent
Lock parent tree structure.
Since 0.4
void ags_thread_lock_sibling ();
AgsThread *thread
Lock sibling tree structure.
Since 0.4
void ags_thread_lock_children ();
AgsThread *thread
Lock child tree structure.
Since 0.4
void ags_thread_unlock_parent (,
AgsThread *thread);
AgsThread *parent
Unlock parent tree structure.
Since 0.4
void ags_thread_unlock_sibling ();
AgsThread *thread
Unlock sibling tree structure.
Since 0.4
void ags_thread_unlock_children ();
AgsThread *thread
Unlock child tree structure.
Since 0.4
void ags_thread_wait_parent (,
AgsThread *thread);
AgsThread *parent
Wait on parent tree structure.
Since 0.4
void ags_thread_wait_sibling ();
AgsThread *thread
Wait on sibling tree structure.
Since 0.4
void ags_thread_wait_children ();
AgsThread *thread
Wait on child tree structure.
Since 0.4
void ags_thread_signal_parent (,
AgsThread *thread,
AgsThread *parent);
gboolean broadcast
Signals the tree in higher levels.
Since 0.4
void ags_thread_signal_sibling (,
AgsThread *thread);
gboolean broadcast
Signals the tree on same level.
Since 0.4
void ags_thread_signal_children (,
AgsThread *thread);
gboolean broadcast
Signals the tree in lower levels.
Since 0.4
void ags_thread_run ();
AgsThread *thread
Only for internal use of ags_thread_loop but you may want to set the your very own class function namely your thread's routine.
Since 0.4
void ags_thread_stop ();
AgsThread *thread
Stop the threads loop by unsetting AGS_THREAD_RUNNING flag.
Since 0.4
void ags_thread_hangcheck ();
AgsThread *thread
Performs hangcheck of thread.
Since 0.4