diff options
author | rsc <devnull@localhost> | 2004-04-21 07:47:50 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-21 07:47:50 +0000 |
commit | 0b424d7bd770a7767da58427e549022279a65d51 (patch) | |
tree | 6797914c572a519acbe0e412196a83c501dab500 | |
parent | 92a0a8b69faf7882459c1ac6c9186e1c47ef0a91 (diff) | |
download | plan9port-0b424d7bd770a7767da58427e549022279a65d51.tar.gz plan9port-0b424d7bd770a7767da58427e549022279a65d51.tar.bz2 plan9port-0b424d7bd770a7767da58427e549022279a65d51.zip |
always a good idea to drop the lock when you're done.
-rw-r--r-- | src/lib9/_p9proc.c | 1 | ||||
-rw-r--r-- | src/lib9/mkfile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib9/_p9proc.c b/src/lib9/_p9proc.c index 374fb089..9454d079 100644 --- 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 index 7afe1a4c..a3fe8df0 100644 --- 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\ |