Add support for user-level 9P servers/clients and various bug fixes to go with them.

This commit is contained in:
rsc
2003-12-11 17:48:38 +00:00
parent ac244f8d28
commit 32f69c36e0
60 changed files with 965 additions and 485 deletions

View File

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