From 8b52df456f7ac8f4c8a053b146722c59abd39519 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Wed, 18 Jul 2001 11:22:37 +0000 Subject: [PATCH] Fixed bug in gthr-posix.h - buggy backend thread functions for objective-c From-SVN: r44105 --- gcc/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. -- 2.30.2