]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgcc/gthr-posix.h
(__gthread_objc_init_thread_system): If pthread_key_create fails, it's
authorovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jun 2001 18:05:09 +0000 (18:05 +0000)
committerovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jun 2001 18:05:09 +0000 (18:05 +0000)
commit02cb961982d3cdfec71bf67faae4b05d11417323
tree2365b561198aaa95ca83324700d67b4a0a398b6b
parent476d3c6a8609356bb90dd80cb99e39294200b9ef
(__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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43091 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/gthr-posix.h