Commit Graph

18 Commits

Author SHA1 Message Date
mainzelm bd70ccb03d Limited disclosing of byte-vectors to the first 16 elements. 2003-04-14 11:06:55 +00:00
mainzelm 766ba98a31 Ensure all output of ,collect goes to (command-output). 2003-03-18 12:51:08 +00:00
mainzelm 28db39b1c5 Fixes from S48 1.0: STRUCTURE-CLIENTS may contain both, packages and
structures.
2003-02-13 09:52:13 +00:00
sperber ac343ba970 Replace Martin's implementation of selective blocking by the one in
Scheme 48 1.0.1.

Namely, instead of associating a list of queues with every thread, we
associate a single cell, holding the thread.  That cell is stored in
thread queues, and once a thread is made runnable again, the cell is
set to #f.  The thread-queue accessors ignore cells containing #f.

Implement an experimental OBTAIN-LOCK-MULTIPLE to test the whole
thing.
2002-08-16 14:11:50 +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 5aee745efb New module language from S48 0.57. 2002-04-03 12:17:19 +00:00
mainzelm 150031d918 Revive these wonderful debugging tools. 2002-02-12 07:54:22 +00:00
sperber 136e313af7 New implementation of (no-inheritance) thread-local cells and thread
fluids.

New implementation of syslog.

Both are to be compatible with what's actually probably going into
Scheme 48.
2001-12-03 15:21:46 +00:00
mainzelm 9552e7900a A thread may life in multiple queues. 2001-10-04 11:16:15 +00:00
sperber 21a8e255eb Added thread-cells structure for thread-local cells.
These can be used (together with fluids) to implement something akin
to PLT's and Chez's parameters for holding thread-local state such as
CWD, syslog channel, etc.
2001-05-22 14:58:15 +00:00
mainzelm eb89a60d2c Replaced Scheme 48 with Scsh in user dialog. 2001-01-11 15:05:04 +00:00
mainzelm c231ab7c6b let byte-vectors print as a list of numbers 2000-09-01 07:13:05 +00:00
marting c2ccd7c924 interrupt/alarm is now generated by itimer in low-interupt. command-level set no longer a handler for interrupt/keyboard. sighandler now generates the event for Interrupt: keyboard 1999-11-15 00:23:11 +00:00
marting 668889cfa2 cvs problems, nothing differs 1999-10-05 14:28:38 +00:00
marting 6cdea67e79 dsf 1999-10-05 14:27:57 +00:00
marting 4e935c24a5 just a snapshot 1999-09-23 14:36:25 +00:00
marting 0c1015a8f0 added dfishers steal-port stuff 1999-09-16 16:18:05 +00:00
marting 606245fc41 *** empty log message *** 1999-09-14 12:45:02 +00:00