diff options
author | rpj <rpj> | 2001-08-23 07:50:16 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-08-23 07:50:16 +0000 |
commit | 882ec36f8d033e07d3bb272ee22554314226ea01 (patch) | |
tree | 9eabe937ef2f9b3e0cfd433a57ee82d0009d7860 | |
parent | 5a1180bf7794e76dc7340db17388fb3f7ab44678 (diff) |
*** empty log message ***
-rw-r--r-- | condvar.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -658,7 +658,7 @@ pthread_cond_destroy (pthread_cond_t * cond) /* * Check whether cv is still busy (still has waiters) */ - if (cv->nWaitersBlocked > cv->nWaitersGone) + if (cv->nWaitersBlocked - cv->nWaitersGone - cv->nWaitersUnblocked > 0) { if (sem_post(&(cv->semBlockLock)) != 0) { |