in reply to Re^2: How to wait for events, and not lose any, while processing them ?
in thread How to wait for events, and not lose any, while processing them ?
If you only describe half the problem, (less--how do you distinguish an "echo" from the "real thing"?), you only get half a solution. That said, the architecture stays the same.
You either filter events before you queue them, or after you dequeue them, whichever is more convenient and timely.
|
|---|