summaryrefslogtreecommitdiff
path: root/libiohelp
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1993-12-03 02:42:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1993-12-03 02:42:04 +0000
commitd133ba7d3c50768f2591d6ecd95003c264860ba7 (patch)
treeff6ea2cebb21cab87203eb7636864e5f0ff4d559 /libiohelp
parentd71ee85d1f180b07a7fa5611434cc21adcf580cd (diff)
Formerly initialize_conch.c.~2~
Diffstat (limited to 'libiohelp')
-rw-r--r--libiohelp/initialize_conch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiohelp/initialize_conch.c b/libiohelp/initialize_conch.c
index fb2dcba2..b965ba5c 100644
--- a/libiohelp/initialize_conch.c
+++ b/libiohelp/initialize_conch.c
@@ -18,9 +18,9 @@
#include <libioserver.h>
void
-initialize_conch (struct conch *c)
+initialize_conch (struct conch *c, struct mutex *m)
{
- mutex_init (&c->lock);
+ c->lock = m;
condition_init (&c->wait);
c->holder = 0;
c->holder_shared_page = 0;