diff options
author | Nicola Pero <nicola@gcc.gnu.org> | 2001-07-18 11:22:37 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2001-07-18 11:22:37 +0000 |
commit | 8b52df456f7ac8f4c8a053b146722c59abd39519 (patch) | |
tree | b497c24da26aaccebc36620b2101970fbf5111d5 /gcc | |
parent | 054af139880dd424ec00e148541344af8bc4897c (diff) | |
download | gcc-8b52df456f7ac8f4c8a053b146722c59abd39519.zip gcc-8b52df456f7ac8f4c8a053b146722c59abd39519.tar.gz gcc-8b52df456f7ac8f4c8a053b146722c59abd39519.tar.bz2 |
Fixed bug in gthr-posix.h - buggy backend thread functions for objective-c
From-SVN: r44105
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5b1afaa..c745905 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +Wed Jul 18 12:05:29 2001 Nicola Pero <n.pero@mi.flashnet.it> + + * gthr-posix.h (__gthread_objc_mutex_trylock): Fixed return value + on error. We can't blindly return the result of + pthread_mutex_trylock because it returns a positive number on + error, while we must return -1 on error. + (__gthread_objc_mutex_lock, __gthread_objc_mutex_unlock): Similar + fixes. + Reported by Stephen Brandon <stephen@brandonitconsulting.co.uk>. + 2001-07-18 Andreas Jaeger <aj@suse.de> * integrate.c (output_inline_function): Correct type of debug_hooks. |