summaryrefslogtreecommitdiff
path: root/libthreads
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-05-19 04:55:30 +0000
committerRoland McGrath <roland@gnu.org>1994-05-19 04:55:30 +0000
commitee4cc59cd903b64a67e2137b36b829f890e65b6f (patch)
treeac30b6c4b79b90fbb0a94efe2f98e4255ca6f9a8 /libthreads
parent587b66f170d42b8135738594c25e18ed4fbbcfd8 (diff)
entered into RCS
Diffstat (limited to 'libthreads')
-rw-r--r--libthreads/cprocs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libthreads/cprocs.c b/libthreads/cprocs.c
index 929461c1..4656e8d8 100644
--- a/libthreads/cprocs.c
+++ b/libthreads/cprocs.c
@@ -908,6 +908,11 @@ mutex_unlock_solid(m)
}
}
+/* The GNU C library's internal locking functions use these variables. */
+void (*_cthread_mutex_lock_routine) (struct mutex *) = mutex_lock_solid;
+void (*_cthread_mutex_unlock_routine) (struct mutex *) = mutex_unlock_solid;
+
+
/*
* Use instead of mach_msg in a multi-threaded server so as not
* to tie up excessive kernel threads. This uses a simple linked list for