Posix does not directly define a method for performing this exact
kind of function against different entities, and hence there is no cleanly portable
way to represent this concept (or Unix "select") between Win32 and Unix that I have found.
Generally, one can produce a triggered event that is itself dependent on and able to signal based on other actions, and then use this single trigger point to achieve
the same result. It may not be as clean as a single method call, but it is workable.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you looked inside the Adaptive Communication Environment (ACE)? In section 3.4 of doc. linked below, there's a discussion of what happens when one attempts to fit both poll/select and WaitForMultipleObject under the same wrapper class.
I need to wait until at least one of 3 events has happened. Formerly under Win32 I used WaitForMultipleObjects.
How can I rebuild a like that behaviour wiht CCXX methods?
Any suggestions?
Posix does not directly define a method for performing this exact
kind of function against different entities, and hence there is no cleanly portable
way to represent this concept (or Unix "select") between Win32 and Unix that I have found.
Generally, one can produce a triggered event that is itself dependent on and able to signal based on other actions, and then use this single trigger point to achieve
the same result. It may not be as clean as a single method call, but it is workable.
Have you looked inside the Adaptive Communication Environment (ACE)? In section 3.4 of doc. linked below, there's a discussion of what happens when one attempts to fit both poll/select and WaitForMultipleObject under the same wrapper class.
see http://www.cs.wustl.edu/~schmidt/PDF/ECOOP-95.pdf