On Fri, Jul 04, 2003 at 10:53:10AM -0400, David T. Lewis wrote:
As an aside, the Unix VM with an X display could probably be made to do this without resorting to pthreads. All external events are going to originate from one of:
- external files
- sockets
- events originating from the X server (which arrive on a socket channel)
- OS signals
The first three can all be handled by the aio mechanism in Ian's VM, and the forth can be handled in the obvious way. All four can therefore trigger a Squeak Semaphore, and no VM level threads would be required.
I just posted an AioPlugin goodie with examples to demonstrate the event notification mechanism for async files, sockets, Unix pipes, and the standard input stream.
Dave