diff options
| author | rsc <devnull@localhost> | 2003-12-11 17:48:38 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2003-12-11 17:48:38 +0000 |
| commit | 32f69c36e0eec1227934bbd34854bfebd88686f2 (patch) | |
| tree | 1587e9de84816b77168afa81c1594cc686809910 /src/libthread/main.c | |
| parent | ac244f8d287a6119155ea672c8fd13c487c5e4c7 (diff) | |
| download | plan9port-32f69c36e0eec1227934bbd34854bfebd88686f2.tar.gz plan9port-32f69c36e0eec1227934bbd34854bfebd88686f2.zip | |
Add support for user-level 9P servers/clients and various bug fixes to go with them.
Diffstat (limited to 'src/libthread/main.c')
| -rw-r--r-- | src/libthread/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libthread/main.c b/src/libthread/main.c index 06c12935..97a6154a 100644 --- a/src/libthread/main.c +++ b/src/libthread/main.c @@ -37,7 +37,7 @@ main(int argc, char **argv) _systhreadinit(); _qlockinit(_threadrendezvous); _sysfatal = _threadsysfatal; -// notify(_threadnote); + notify(_threadnote); if(mainstacksize == 0) mainstacksize = 32*1024; @@ -98,6 +98,7 @@ _schedexit(Proc *p) break; } } + _threadprocs--; unlock(&_threadpq.lock); strncpy(ex, p->exitstr, sizeof ex); |
