Class
AgsThread
[−]
Description
class Ags.Thread : GObject.Object
implements Ags.Connectable {
my_flags: guint,
connectable_flags: guint,
status_flags: volatile guint,
sync_tic_flags: volatile guint,
obj_mutex: GRecMutex,
uuid: AgsUUID*,
current_sync_tic: volatile guint,
delay: gdouble,
tic_delay: gdouble,
frequency: gdouble,
max_precision: gdouble,
last_run_start: gint64,
last_run_end: gint64,
thread: GThread*,
wait_mutex: GMutex,
wait_cond: GCond,
tic_mutex: GMutex,
tic_cond: GCond,
start_queue: GList*,
start_mutex: GMutex,
start_cond: GCond,
parent: AgsThread*,
next: AgsThread*,
prev: AgsThread*,
children: AgsThread*
}
No description available.
[+]
Descendants
[−]
Instance methods
ags_thread_find_type
Find gtype
as descendant of thread
. If its a descendant thread,
the ref-count is increased.
since: 3.0.0
ags_thread_run
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: 3.0.0
ags_thread_trylock
Locks the threads own mutex if available and sets the
appropriate flag and returning TRUE
. Otherwise return FALSE
without lock.
since: 3.0.0
[+]
Methods inherited from AgsConnectable (13)
[+]
Class structure
[−]
Virtual methods
Ags.ThreadClass.run
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: 3.0.0
Ags.ThreadClass.stop
Stop the threads loop by unsetting AGS_THREAD_STATUS_RUNNING flag.
since: 3.0.0