Grzegorz,
you asked on Wed, 24 Mar 2004 12:32:32 +0100:
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 occure
"SPRINTER" <[EMAIL PROTECTED]> wrote:
>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
Make sure the Wait on Occurence and Dequeue functions have no data
dependency. Then wire the queue reference to an Enqueue function with a
dummy queue element that is data dependent upon the Wait on Occurance. Wire
the occurence ref to a Set Occurence function that is data dependent on the
Dequeu