Function
GLibThreadinit
deprecated: 2.32
Description
If you use GLib from more than one thread, you must initialize the thread system by calling g_thread_init().
Since version 2.24, calling g_thread_init()
multiple times is allowed,
but nothing happens except for the first call.
Since version 2.32, GLib does not support custom thread implementations
anymore and the vtable
parameter is ignored and you should pass NULL
.
g_thread_init()
in your program, you have to link
with the libraries that the command
Deprecated since: 2.32
This function is no longer necessary. The GLib threading system is automatically initialized at the start of your program.
This function is not directly available to language bindings.