George George

George George

  • NA
  • 778
  • 0

WaitOne method

Apr 22 2008 8:42 AM

Hello everyone,

When we signal an event (say, invoking set method of ManualResetEvent instance), then two basic questions,

1. no matter how many threads are waiting on the event, all of them will be awoken and executed at the same time, right?

2. If some other threads execute to statement WaitOne, after the ManualResetEvent is signalled -- say, in step (1), but not reset back into non-signalled status, the thread's execution will not be blocked, right?

thanks in advance,