From: Nicola Pero Date: Wed, 18 Jul 2001 11:22:37 +0000 (+0000) Subject: Fixed bug in gthr-posix.h - buggy backend thread functions for objective-c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b52df456f7ac8f4c8a053b146722c59abd39519;p=gcc.git Fixed bug in gthr-posix.h - buggy backend thread functions for objective-c From-SVN: r44105 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5b1afaabe05..c7459051607 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +Wed Jul 18 12:05:29 2001 Nicola Pero + + * 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 . + 2001-07-18 Andreas Jaeger * integrate.c (output_inline_function): Correct type of debug_hooks.