May be someone knows the way to join different synchronization methods ? In other words I would like to use the queue and occurence with one while loop. Desired effect is that while loop waits for one of these events (element in queue or occurence). In my case, dequeue function was being blocked by the wait occurence function.
Kind regards Grzegorz Bialic
