plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 4a8edd8d410a465d34027d706f1c8df2ee6a0c17
parent 5ba56e9139188cc747690851f73e0f4c2e20bf14
Author: rsc <devnull@localhost>
Date:   Fri, 14 Jan 2005 17:56:21 +0000

add procwakeupandunlock

Diffstat:
Msrc/libthread/FreeBSD.c | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/libthread/FreeBSD.c b/src/libthread/FreeBSD.c @@ -131,6 +131,14 @@ _procwakeup(_Procrendez *r) } } +void +_procwakeupandunlock(_Procrendez *r) +{ + _procwakeup(r); + unlock(r->l); +} + + /* * process creation and exit */