This function is the same as glib.thread.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.
an (optional) name for the new thread
a function to execute in the new thread
the new #GThread, or null if an error occurred
This function is the same as glib.thread.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.