lurking signals in EventSensor

David T. Lewis lewis at mail.msen.com
Sat Jul 5 23:24:19 UTC 2003


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:
>  1) external files
>  2) sockets
>  3) events originating from the X server (which arrive on a socket channel)
>  4) 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



More information about the Squeak-dev mailing list