diff options
Diffstat (limited to 'libpager/lock-object.c')
-rw-r--r-- | libpager/lock-object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpager/lock-object.c b/libpager/lock-object.c index 93c89f07..c022d0c4 100644 --- a/libpager/lock-object.c +++ b/libpager/lock-object.c @@ -65,11 +65,11 @@ _pager_lock_object (struct pager *p, } } - mutex_unlock (&p->interlock); + pthread_mutex_unlock (&p->interlock); memory_object_lock_request (p->memobjcntl, offset, size, should_return, should_flush, lock_value, sync ? p->port.port_right : MACH_PORT_NULL); - mutex_lock (&p->interlock); + pthread_mutex_lock (&p->interlock); if (sync) { |