> On Apr 4, 2016, at 9:13 AM, will sanfilippo <[email protected]> wrote:
> 
> I would not break BC; I would add a different function. Not sure what I would 
> call it but wouldnt it just have a timeout, in ticks, associated with it? For 
> example: os_eventq_wait(&my_evq, timeout_in_os_ticks). What is the purpose of 
> the mask btw? Something to do with returning an error if it times out or some 
> way of selecting particular events?

Right, it would allow you to quickly poll for a set/type of events.  Select is 
a common UNIX call which does the same thing (the other being poll()).

I think it's useful to search the queue for a type of event, so if we're adding 
a new call with timeout, I think we should add that functionality. 

Sterling 

Reply via email to