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

This commit is contained in:
rsc 2004-04-21 07:47:50 +00:00
parent 92a0a8b69f
commit 0b424d7bd7
2 changed files with 2 additions and 0 deletions

View file

@ -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)

View file

@ -141,6 +141,7 @@ LIB9OFILES=\
tas-$OBJTYPE.$O\
time.$O\
tokenize.$O\
truerand.$O\
u16.$O\
u32.$O\
u64.$O\