Commit Graph

14 Commits

Author SHA1 Message Date
sperber 7ab2c69a6d GC dead variable. 2003-02-28 13:04:10 +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 bbfd094bbd Queue os-signal events. 2002-06-10 08:46:08 +00:00
mainzelm b5aa75894a Fixed waiting 2002-02-19 08:58:12 +00:00
mainzelm 47d41db14e + Implement blocking interrupts by sigprocmask
+ Never wait for longer than 1 second to avoid missing an interrupt
2002-02-13 14:42:50 +00:00
mainzelm 73b11ef47f Initialize the interrupt counts to 0 && declare functions. 2002-02-07 10:07:25 +00:00
mainzelm a1bf0f0792 Stop waiting for an event if a signal occured. 2002-02-06 17:18:15 +00:00
mainzelm 2da600ffbb Replaced // comments. 2002-01-11 10:13:58 +00:00
mainzelm 701d506b3e code clarification 2000-12-21 16:09:52 +00:00
mainzelm f8af34a318 Check wether some SVR4 defines SIGPOLL equal to SIGIO 2000-12-21 15:46:34 +00:00
mainzelm cfb1e34b08 Rewrote signal checks and added handler for all scsh interrupts. 2000-12-21 13:25:21 +00:00
marting 1d4d7d0e0c snapshot, this version should work quite well 1999-10-08 18:41:05 +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