tadd procwakeupandunlock - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 4a8edd8d410a465d34027d706f1c8df2ee6a0c17
DIR parent 5ba56e9139188cc747690851f73e0f4c2e20bf14
HTML Author: rsc <devnull@localhost>
Date: Fri, 14 Jan 2005 17:56:21 +0000
add procwakeupandunlock
Diffstat:
M src/libthread/FreeBSD.c | 8 ++++++++
1 file changed, 8 insertions(+), 0 deletions(-)
---
DIR diff --git a/src/libthread/FreeBSD.c b/src/libthread/FreeBSD.c
t@@ -131,6 +131,14 @@ _procwakeup(_Procrendez *r)
}
}
+void
+_procwakeupandunlock(_Procrendez *r)
+{
+ _procwakeup(r);
+ unlock(r->l);
+}
+
+
/*
* process creation and exit
*/