Commit Graph

15 Commits

Author SHA1 Message Date
mainzelm dcebc64e8b Unify initialization of scsh-specific stuff. 2002-05-16 14:34:58 +00:00
sperber 1d35626709 Redo the forking-without-the-threads fix in a way not involving
command levels (as there *are* no command levels for things like scsh
-c):

There's now a new asynchronous event, similar to SPAWN, called NARROW.
It spawns off a new scheduler with just one thread (which runs the
thunk provided as an argument to NARROW) and blocks the current one
until the narrowed scheduler finishes.

For this to work, two schedulers need to be in place: the root
scheduler which performs the housekeeping, and another one inside that
which is the one the program uses---otherwise it's the root scheduler
that's blocked, and that means no housekeeping gets done.  This is
trivially the case for interactive mode, as the command-levels all
have their own schedulers, but we also need to make sure scsh's entry
point fires up its own initial scheduler.
2002-05-03 13:42:36 +00:00
mainzelm 6e7ae9448f Initialize session and user-environment correctly. 2001-11-27 18:11:38 +00:00
mainzelm f3e567e997 Initialize CWD on startup. 2001-09-12 14:29:03 +00:00
mainzelm a95c531327 Added with-autoreaping and with-scsh-sighandlers.
Added auto-init for process-objects to flush the process table on startup.
2001-04-09 08:05:58 +00:00
mainzelm c1d6d368e5 Built the event system directly into the RTS. Built sighandlers above
it. Removed machinery in low-interrupt.
2001-01-09 15:52:52 +00:00
mainzelm dee3f345f5 Fixed typo. 2000-12-21 13:27:28 +00:00
mainzelm b3447ad964 Default sighandler for SIG/INT depends on whether we run interactive or not. 2000-09-17 15:10:42 +00:00
marting 2dbf1a07e8 Initialize event system etc. in scripts too. 2000-08-28 13:28:49 +00:00
marting d6c8c400c6 this should be the first working top-level 1999-10-08 18:28:39 +00:00
marting 6cc6334039 removed most of the hacks due to restart-command-processor 1999-09-29 22:45:47 +00:00
marting 26447c1d1a added channel-cell-ref to newports for the changed design in rts/channel-port.s, vm starts from dumped image now 1999-09-24 23:52:32 +00:00
marting b5771115b6 changes to get the 0.5.2 stuff running. Not yet completed, hangs on startup 1999-09-23 23:02:54 +00:00
marting dd7939ab1a start scsh-toplevel by dump-scsh, scsh's init are not yet done 1999-09-23 00:43:13 +00:00
marting 09136048ae Added files from david fishers home (~dfisher/scsh-0.5.1).
Be warned: the scsh-version he started from was neither 0.5.1 nor
0.5.2, but something in between !
1999-09-14 13:32:05 +00:00