| To: | scsh-checkins@lists.sourceforge.net |
|---|---|
| Subject: | [Scsh-checkins] scsh-0.6/c event.h |
| From: | Mike Sperber <sperber@users.sourceforge.net> |
| Date: | Tue Aug 20 07:03:06 2002 |
| List-id: | <scsh-checkins.lists.sourceforge.net> |
| Sender: | scsh-checkins-admin@lists.sourceforge.net |
Update of /cvsroot/scsh/scsh-0.6/c
In directory usw-pr-cvs1:/tmp/cvs-serv8927/c
Modified Files:
event.h
Log Message:
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.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Scsh-checkins] scsh-0.6/c/unix event.c fd-io.c socket.c, Mike Sperber |
|---|---|
| Next by Date: | [Scsh-checkins] scsh-0.6/scheme interfaces.scm rts-packages.scm, Mike Sperber |
| Previous by Thread: | [Scsh-checkins] scsh-0.6/c/unix event.c fd-io.c socket.c, Mike Sperber |
| Next by Thread: | [Scsh-checkins] scsh-0.6/scheme interfaces.scm rts-packages.scm, Mike Sperber |
| Indexes: | [Date] [Thread] [Top] [All Lists] |