[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Second draft of new Event API for Luasocket
- From: Daniel Quintela <danielq@...>
- Date: Mon, 28 Jun 2004 10:59:30 -0300
> Windows messages
> Obviously allowing only QS_ALLINPUT is trivial (if all you want is to
call some message queue handler).
> Allowing only single-bit selectors and mapping each of them to a single
event is simple, too.
> But the semantics get pretty complicated if multi-bit selectors (such
> need to be mapped to a single event.
You can provide named constants for single-bit selectors and, for the
advanced users, allow a bit mask (LUA_TNUMBER) as the "event source"
parameter of ev:add( ).