diff options
Diffstat (limited to 'libpager/lock-completed.c')
-rw-r--r-- | libpager/lock-completed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpager/lock-completed.c b/libpager/lock-completed.c index 1810959f..9ab640fe 100644 --- a/libpager/lock-completed.c +++ b/libpager/lock-completed.c @@ -37,7 +37,7 @@ _pager_seqnos_memory_object_lock_completed (mach_port_t object, if (!p) return EOPNOTSUPP; - mutex_lock (&p->interlock); + pthread_mutex_lock (&p->interlock); _pager_wait_for_seqno (p, seqno); if (control != p->memobjcntl) @@ -55,13 +55,13 @@ _pager_seqnos_memory_object_lock_completed (mach_port_t object, if (lr->locks_pending) --lr->locks_pending; if (!lr->locks_pending && !lr->pending_writes) - condition_broadcast (&p->wakeup); + pthread_cond_broadcast (&p->wakeup); break; } out: _pager_release_seqno (p, seqno); - mutex_unlock (&p->interlock); + pthread_mutex_unlock (&p->interlock); ports_port_deref (p); return err; |