Commit Graph

17 Commits

Author SHA1 Message Date
mainzelm 17b1a55c8b + Factor out pending interrupts into a separate package.
+ Let vm-channel-abort clear the pending-i/o interrupt if the queue became empty
2002-09-27 12:44:43 +00:00
sperber 5b47488938 Include half-assed implementation of ADD-PENDING-CHANNEL. 2002-09-19 07:08:16 +00:00
sperber d14e638e10 Replace hacked-up VM-CHANNEL-ABORT by a version that's simpler and
closer to the original.
2002-09-19 07:07:40 +00:00
sperber d21334de83 Keep separate queues for input and output channels, so the VM doesn't
get confused handling events/interrupts.
I despise myself.
2002-09-18 14:56:31 +00:00
sperber 33c14d7901 First stab at implementing SELECT/SELECT!:
- extend the VM interrupts to distinguish between read and write
  events
- add new ADD-PENDING-CHANNEL instruction to the VM
- add WAIT-FOR-CHANNELS procedure to the run-time system
- implement SELECT and SELECT! on top of that in newports.scm

This runs some basic tests, but in general should be considered
largely untested.

Moreover, SELECT/SELECT! never detect any exceptional conditions---the
returned vectors are always empty.  This is because the VM doesn't
really track those, and it's unclear whether it would be worth the
effort.
2002-08-20 14:03:01 +00:00
mainzelm 8f1dfb6935 Ensure that newspace is the space in front when dumping an image the
prevent relocation on startup.
2002-08-15 16:35:26 +00:00
mainzelm bbfd094bbd Queue os-signal events. 2002-06-10 08:46:08 +00:00
mainzelm aed248d24b First version of libscsh. 2002-05-16 14:50:46 +00:00
mainzelm 06b68b7c5e Cells as stob (from S48 0.57). 2002-04-04 08:13:53 +00:00
mainzelm 2b1d8a3d01 Let s48-do-gc return 0 so the PreScheme compiler will emit the correct
signature of the function.
2002-02-01 10:25:50 +00:00
sperber 7c026ff0b4 Fix external-call-from-callback problem leading to spurious
gc-protection-mismatch exceptions.
2002-01-27 20:20:53 +00:00
mainzelm 8bba3a13e1 Adjust top of stack as well. 2001-12-04 13:06:12 +00:00
mainzelm 9b4bb8a19d Adapted some of Richard's changes for char-ready? and output-port-ready?. 2001-03-23 10:59:07 +00:00
marting c96cde2294 Fixed bug in FFI. Up to 12 Arguments to an external call are now
supported.
2000-06-30 07:04:04 +00:00
marting 50d36014ba added set-port-handler! for set-port-buffering 1999-10-22 21:36:35 +00:00
marting 4e935c24a5 just a snapshot 1999-09-23 14:36:25 +00:00
marting 606245fc41 *** empty log message *** 1999-09-14 12:45:02 +00:00