scsh-checkins
[Top] [All Lists]

[Scsh-checkins] scsh-0.6/scsh newports.scm scsh-interfaces.scm select.c

To: scsh-checkins@lists.sourceforge.net
Subject: [Scsh-checkins] scsh-0.6/scsh newports.scm scsh-interfaces.scm select.c select.scm select1.c select1.h
From: Mike Sperber <sperber@users.sourceforge.net>
Date: Tue Aug 20 07:04:03 2002
List-id: <scsh-checkins.lists.sourceforge.net>
Sender: scsh-checkins-admin@lists.sourceforge.net
Update of /cvsroot/scsh/scsh-0.6/scsh
In directory usw-pr-cvs1:/tmp/cvs-serv8927/scsh

Modified Files:
        newports.scm scsh-interfaces.scm 
Removed Files:
        select.c select.scm select1.c select1.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>
  • [Scsh-checkins] scsh-0.6/scsh newports.scm scsh-interfaces.scm select.c select.scm select1.c select1.h, Mike Sperber <=