Mon Nov 27 17:27:18 EST 2006

implementing copy-stream-buffered

problem 1: blocking io now uses a restarted XT. that's not compatible
with tasks. i need to re-implement blocking I/O from the start. not to
confuse with buffered I/O. so todo:

- make blocking I/O go through the scheduler
- implement buffered I/O in the scheduler

solution: implement write-atom-buffered as a task.
seems to work now.

* add a proper 3 way select to the scheduler
* implement sleep using events: synchronize to some i/o