plan9port

[fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port # fast
git clone https://src.adamsgaard.dk/plan9port.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 0b424d7bd770a7767da58427e549022279a65d51
parent 92a0a8b69faf7882459c1ac6c9186e1c47ef0a91
Author: rsc <devnull@localhost>
Date:   Wed, 21 Apr 2004 07:47:50 +0000

always a good idea to drop the lock when you're done.

Diffstat:
Msrc/lib9/_p9proc.c | 1+
Msrc/lib9/mkfile | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/lib9/_p9proc.c b/src/lib9/_p9proc.c @@ -59,6 +59,7 @@ _p9uproc(int inhandler) if(alluproc[h]==T || alluproc[h]==nil){ alluproc[h] = up; allupid[h] = pid; + unlock(&uproclock); return up; } if(++h == PIDHASH) diff --git a/src/lib9/mkfile b/src/lib9/mkfile @@ -141,6 +141,7 @@ LIB9OFILES=\ tas-$OBJTYPE.$O\ time.$O\ tokenize.$O\ + truerand.$O\ u16.$O\ u32.$O\ u64.$O\