diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/thread/pthread_cond_timedwait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_cond_timedwait.c b/src/thread/pthread_cond_timedwait.c index a0cd4904..6b761455 100644 --- a/src/thread/pthread_cond_timedwait.c +++ b/src/thread/pthread_cond_timedwait.c @@ -155,7 +155,7 @@ relock: int val = m->_m_lock; if (val>0) a_cas(&m->_m_lock, val, val|0x80000000); unlock_requeue(&node.prev->barrier, &m->_m_lock, m->_m_type & (8|128)); - } else if (!!(m->_m_type & 8)) { + } else if (!(m->_m_type & 8)) { a_dec(&m->_m_waiters); } |