an (optional) name for the new thread
a function to execute in the new thread
an argument to supply to the new thread
the new glib.Thread, or NULL if an error occurred
GException on failure. ConstructionException GTK+ fails to create the object.
2.32
This function is the same as 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.