Martin Storsjö d0a81355b0 Add support for using a separate "master event" in WelsMultipleEventsWait*Blocking
This allows making the WelsMultipleEventsWaitSingleBlocking
function work properly in unix, without polling. If a master
event is provided, the function first waits for a signal on
that event - once such a signal is received, it is assumed that
one of the individual events in the list have been signalled as
well. Then the function can proceed to check each of the semaphores
in the list using sem_trywait to find the first one of them that
has been signalled. Assuming that the master event is signalled
in pair with the other events, one of the sem_trywait calls
should succeed.

The same master event is also used in
WelsMultipleEventsWaitAllBlocking, to keep the semaphore values
in sync across calls to the both functions.
2014-03-06 15:03:59 +02:00
..
2014-02-10 08:06:37 +02:00
2014-02-10 08:06:37 +02:00
2014-01-16 15:57:22 +08:00
2014-02-10 08:06:37 +02:00
2014-02-10 08:06:37 +02:00
2014-02-10 08:06:33 +02:00
2014-02-10 08:06:33 +02:00
2014-02-10 08:06:33 +02:00
2014-01-18 13:59:24 +01:00