This function is the same as g_thread_new() except that it allows for the possibility of failure. If a thread can not be created (due to resource limits), error is set and NULL is returned. Since 2.32
an (optional) name for the new thread. [allow-none]
a function to execute in the new thread
an argument to supply to the new thread
the new GThread, or NULL if an error occurred
GException on failure.
See Implementation
This function is the same as g_thread_new() except that it allows for the possibility of failure. If a thread can not be created (due to resource limits), error is set and NULL is returned. Since 2.32