Introduction - If you have any usage issues, please Google them yourself
WaitForMultipleObjects using pthread linux
The basic idea is to use the subscriber pattern:
In WaitForMultipleObjects() subscribe at all event sources the event
sources then have to signal a central pthread_cond_t.
The public interface is declared in winEmul.h.
A few features are not implemented properly or completely, for instance
PulseEvent(). If these features would be needed, it should not be too difficult
to implement them.