(__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear...
authorNicola Pero <nicola@brainstorm.co.uk>
Sat, 9 Jun 2001 18:05:09 +0000 (18:05 +0000)
committerOvidiu Predescu <ovidiu@gcc.gnu.org>
Sat, 9 Jun 2001 18:05:09 +0000 (18:05 +0000)
commitabc0360c37b253ec89fe1976cffe76b0fa87f1da
tree2365b561198aaa95ca83324700d67b4a0a398b6b
parent2a008da43429a550f60eeaee852857387a406e44
(__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is.

(__gthread_objc_init_thread_system): If pthread_key_create fails, it's
not clear what the return value is.  This obvious fix makes sure it
always returns -1 if a problem occurs.

From-SVN: r43091
gcc/gthr-posix.h