diff options
Diffstat (limited to 'libiohelp/initialize_conch.c')
-rw-r--r-- | libiohelp/initialize_conch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiohelp/initialize_conch.c b/libiohelp/initialize_conch.c index a5d5b76e..2ded2418 100644 --- a/libiohelp/initialize_conch.c +++ b/libiohelp/initialize_conch.c @@ -20,10 +20,10 @@ /* Called by an I/O server to initialize a conch structure C; M will be used to lock conch data structures. */ void -iohelp_initialize_conch (struct conch *c, struct mutex *m) +iohelp_initialize_conch (struct conch *c, pthread_mutex_t *m) { c->lock = m; - condition_init (&c->wait); + pthread_cond_init (&c->wait, NULL); c->holder = 0; c->holder_shared_page = 0; } |