AnsweredAssumed Answered

Pending for a multiple DeviceFlags and a Message with a single call.

Question asked by MichalRzechonek on Feb 1, 2012
Latest reply on Feb 6, 2012 by BrianW

Is it possible to pend for multiple DeviceFlags with a single call? I'm looking for something like select() or poll() calls from traditional OSes.


Also, would it be possible to implement a single blocking call that would pend for either a driver posting its DeviceFlag OR a message coming in?


I would like to pend on multiple event sources and be notified if any event happens, preferably telling me which sources generated events when I've been pending. At that point I'll go through sources one by one and handle the events.


I'd like to have this in a single thread.