Fixed bug in gthr-posix.h - buggy backend thread functions for objective-c
From-SVN: r44105
This commit is contained in:
parent
054af13988
commit
8b52df456f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user