1
0
mirror of https://github.com/livingcomputermuseum/pdp7-unix.git synced 2026-02-10 10:20:38 +00:00

Merge pull request #33 from philbudne/master

apply fix to scans/as.s; fix a7out smes comments
This commit is contained in:
philbudne
2016-03-07 18:00:05 -05:00
2 changed files with 8 additions and 7 deletions

View File

@@ -148,6 +148,7 @@ init: 0
dac fname
-1
dac eofflg
jms nextfil
jms ioinit
dzm savchr
dzm comflg

View File

@@ -736,13 +736,13 @@ sub sys_fork {
}
# shell depends on smes hanging while child process exists
" https://www.bell-labs.com/usr/dmr/www/hist.html
" The message facility was used as follows: the parent shell, after
" creating a process to execute a command, sent a message to the new
" process by smes; when the command terminated (assuming it did not
" try to read any messages) the shell's blocked smes call returned an
" error indication that the target process did not exist. Thus the
" shell's smes became, in effect, the equivalent of wait.
# https://www.bell-labs.com/usr/dmr/www/hist.html
# The message facility was used as follows: the parent shell, after
# creating a process to execute a command, sent a message to the new
# process by smes; when the command terminated (assuming it did not
# try to read any messages) the shell's blocked smes call returned an
# error indication that the target process did not exist. Thus the
# shell's smes became, in effect, the equivalent of wait.
sub sys_smes {
waitpid($AC,0);
dprintf("smes returning error\n");