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:
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\