Commit Graph

9 Commits

Author SHA1 Message Date
shivers 4703ce142a There was an atomicity problem/race condition -- if a child process died
after it was forked, but before the scsh fork procedure could register
the child's procobj in the pid/procobj table, then when the SIGCHLD
signal-handler reaped the process, there would be no procobj for it.
We now lock out interrupts across the fork and register operations.
1997-04-30 20:33:26 +00:00
shivers e989a744e4 Had to shuffle packages due to broken package dependencies.
The whole thing is a disaster and should be completely re-factorised.
1997-02-27 04:50:57 +00:00
shivers b980922f0d Fixed bug in stdio->stdports -- it was using fdes->inport to make the
output ports.
1997-02-26 22:21:48 +00:00
shivers ea9745ee2f Interrupt system fixed up and installed. 1996-11-10 13:58:46 +00:00
shivers 70a1342cef Hacked I/O system so that ports set/clear their
fd's CLOEXEC bit when they become unrevealed/revealed.
1996-09-12 01:43:53 +00:00
shivers ea45fca8ef Hacked the system to use the new LET-OPT optional argument machinery,
LET-OPTIONAL, LET-OPTIONAL*, and :OPTIONAL. The new macros are
faster and easier to read than the old PARSE-OPTIONALS and OPTIONAL-ARG
procedures.
1996-04-19 18:39:14 +00:00
shivers 737ebc5afe Added SET-CURRENT-INPUT-PORT! and friends.
Rehacked stdio/stdport sync procedures.
1995-10-28 22:12:17 +00:00
shivers bc338f2d53 really-fork/pipe was binding PROC but testing PID -- bug. Changed PID to PROC. 1995-10-26 10:46:07 +00:00
bdc 2302efe24e *** empty log message *** 1995-10-14 03:34:21 +00:00