Specifies the priority of a thread.
Note
It is not guaranteed that threads with different priorities
really behave accordingly. On some systems (e.g. Linux) there are no
thread priorities. On other systems (e.g. Solaris) there doesn't
seem to be different scheduling for different priorities. All in all
try to avoid being dependent on priorities.
G_THREAD_PRIORITY_LOW
a priority lower than normal
G_THREAD_PRIORITY_NORMAL
the default priority
G_THREAD_PRIORITY_HIGH
a priority higher than normal
G_THREAD_PRIORITY_URGENT
the highest priority
Specifies the priority of a thread. Note It is not guaranteed that threads with different priorities really behave accordingly. On some systems (e.g. Linux) there are no thread priorities. On other systems (e.g. Solaris) there doesn't seem to be different scheduling for different priorities. All in all try to avoid being dependent on priorities. G_THREAD_PRIORITY_LOW a priority lower than normal G_THREAD_PRIORITY_NORMAL the default priority G_THREAD_PRIORITY_HIGH a priority higher than normal G_THREAD_PRIORITY_URGENT the highest priority