diff options
author | rpj <rpj> | 1999-02-19 03:15:05 +0000 |
---|---|---|
committer | rpj <rpj> | 1999-02-19 03:15:05 +0000 |
commit | 2f59893abc1ef66e851c4bba56c4b421710d4183 (patch) | |
tree | f97607137924f1d951bdff20d136dbe59d812a5a /sync.c | |
parent | d17546911f6e814a15ef8c2c1685399a61d22e71 (diff) |
Fri Feb 19 16:2s1703:30 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* sync.c (pthread_join): Fix pthread_equal() test.
* mutex.c (pthread_mutex_trylock): Check mutex != NULL before
using it.
Diffstat (limited to 'sync.c')
-rw-r--r-- | sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ pthread_join (pthread_t thread, void **value_ptr) self = pthread_self (); - if (pthread_equal (self, thread) == 0) + if (pthread_equal (self, thread) != 0) { result = EDEADLK; } |