notifying particular thread to wake up.



Is there any way to notify a particular thread to wake up? All the
waiting threads are same priority.

thanks

.



Relevant Pages

  • Re: experimental condvar w/ wait-morphing for windows...
    ... There is no guarantee that SetEvent() will wake any currently-waiting ... a manual-reset, then N threads would wake when 'SetEvent' was called. ... before the waiting threads have been scheduled, ...
    (comp.programming.threads)
  • Re: Race in TBB?
    ... are assuming that a call to SetEvent on a manual reset event object will ... wake all currently waiting threads. ... 10 waiting threads on a manual event, a call to SetEvent might only wake ... Can this be modelled with eventcount? ...
    (comp.programming.threads)
  • Re: experimental condvar w/ wait-morphing for windows...
    ... There is no guarantee that SetEvent() will wake any currently-waiting ... a manual-reset, then N threads would wake when 'SetEvent' was called. ... before the waiting threads have been scheduled, ...
    (comp.programming.threads)
  • Re: multiple threads consuming same list?
    ... you have to wake all threads or you will ... end up waking the wrong thread, so in your implementation a call to ... reason is that, it seems, there cannot be waiting threads in both ... could not construct any test case for having suspended threads on both ...
    (comp.programming.threads)
  • Re: notifying particular thread to wake up.
    ... waiting threads are same priority. ... Get Doug Lea's book to explain all the ways you can have threads ... interact. ...
    (comp.lang.java.programmer)