[ENH] Alternative EventSensor

Ned Konz ned at bike-nomad.com
Tue Aug 1 01:26:46 UTC 2000


Lex Spoon wrote:

> The alternatives on Unix seem to be:
> 
>         1. Only use *input events*, and allow for precise timings.
>         2. Mix all events into the same queue, but use imprecise timings.
> 

Maybe I'm missing something, but why would we want to combine dissimilar
events in the same queue (sockets/input/serial?)?

Wouldn't that require the queue reading process to know about each event type,
or to pick through the queue for the next event of a particular type?

Is there some advantage to a single queue, or is it just because it's easier?

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com





More information about the Squeak-dev mailing list