thread creation: Simplify error handling
authorRyan Lortie <desrt@desrt.ca>
Thu, 13 Oct 2011 02:35:35 +0000 (22:35 -0400)
committerRyan Lortie <desrt@desrt.ca>
Thu, 13 Oct 2011 02:43:22 +0000 (22:43 -0400)
commit2f5486f02040b0d5cfc67eb97bd037a0ffd86635
treea103d744ee9754c8db18bf6e48bc25537bbf390b
parente14a3746db8c9979b3d9840602be5f79af501605
thread creation: Simplify error handling

Instead of always returning non-NULL and finding out about errors via
the GError*, return NULL from the backend in the event of an error.
glib/gthread-posix.c
glib/gthread-win32.c
glib/gthread.c