Check the return code of pthread_create(). Otherwise we go into an infinite
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
| Path | Change | +/− |
|---|---|---|
| src/test/thread/thread_test.c | modified | +18 −2 |