Commit Graph

20 Commits

Author SHA1 Message Date
mainzelm a51ba12623 Let select again sleep forever if requested by the RTS.
I think the past fixes made this kludge superfluous.
2003-03-05 17:33:41 +00:00
sperber 7ab2c69a6d GC dead variable. 2003-02-28 13:04:10 +00:00
sperber edae15ae5b Replace a C++ comment by a C comment. 2003-02-14 14:17:36 +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 9b4bb8a19d Adapted some of Richard's changes for char-ready? and output-port-ready?. 2001-03-23 10:59:07 +00:00
mainzelm a723d15160 Fixed include directive for dlfcn.h: include <dlfcn.h> if HAVE_DLOPEN,
../fake/dlfcn.h otherwise.
2001-01-22 12:48:00 +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
mainzelm b0d994b43c Build fixes for irix and hpux. 2000-12-20 08:31:06 +00:00
marting d40c9f854d Fixed typo. Not that we really care... 2000-08-28 13:33:32 +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