summaryrefslogtreecommitdiff
path: root/src/thread/pthread_cond_broadcast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_cond_broadcast.c')
-rw-r--r--src/thread/pthread_cond_broadcast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_cond_broadcast.c b/src/thread/pthread_cond_broadcast.c
index 848e288f..0901daf6 100644
--- a/src/thread/pthread_cond_broadcast.c
+++ b/src/thread/pthread_cond_broadcast.c
@@ -28,7 +28,7 @@ int pthread_cond_broadcast(pthread_cond_t *c)
/* Perform the futex requeue, waking one waiter unless we know
* that the calling thread holds the mutex. */
__syscall(SYS_futex, &c->_c_seq, FUTEX_REQUEUE,
- !m->_m_type || (m->_m_lock&INT_MAX)!=pthread_self()->tid,
+ !m->_m_type || (m->_m_lock&INT_MAX)!=__pthread_self()->tid,
INT_MAX, &m->_m_lock);
out: