Check the return code of pthread_create(). Otherwise we go into an infinite

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 336db7e3474508b46a0e6bdb013a8bee5aac9adf
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2011-05-27T09:55:02Z
Releases: 9.1.0
Check the return code of pthread_create(). Otherwise we go into an infinite
loop if it fails, which is what what happened on my HP-UX box. (I think
the reason it failed on that box is a misconfiguration on my behalf, but
that's no reason to hang.)

Files

PathChange+/−
src/test/thread/thread_test.c modified +18 −2