projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6668eb
)
entered into RCS
author
roland
<roland>
Tue, 17 May 1994 01:45:23 +0000
(
01:45
+0000)
committer
roland
<roland>
Tue, 17 May 1994 01:45:23 +0000
(
01:45
+0000)
mach/mutex-solid.c
patch
|
blob
|
history
diff --git
a/mach/mutex-solid.c
b/mach/mutex-solid.c
index
b13a425
..
aeaa269
100644
(file)
--- a/
mach/mutex-solid.c
+++ b/
mach/mutex-solid.c
@@
-40,3
+40,11
@@
__mutex_unlock_solid (void *lock)
(*_cthread_mutex_unlock_routine) (lock);
}
+void
+__mutex_init (void *lock)
+{
+ /* This happens to be name space-safe because it is a macro.
+ It invokes only spin_lock_init, which is a macro for __spin_lock_init;
+ and cthread_queue_init, which is a macro for some simple code. */
+ mutex_init ((struct mutex *) lock);
+}