This function creates a new thread with the default priority.
If joinable is TRUE, you can wait for this threads termination
calling g_thread_join(). Otherwise the thread will just disappear
when it terminates.
The new thread executes the function func with the argument data.
If the thread was created successfully, it is returned.
error can be NULL to ignore errors, or non-NULL to report errors.
The error is set, if and only if the function returns NULL.
This function creates a new thread with the default priority. If joinable is TRUE, you can wait for this threads termination calling g_thread_join(). Otherwise the thread will just disappear when it terminates. The new thread executes the function func with the argument data. If the thread was created successfully, it is returned. error can be NULL to ignore errors, or non-NULL to report errors. The error is set, if and only if the function returns NULL.