J
Jim
Hi,
I have a question regarding the Event classes. The ManualResetEvent class
exposes the WaitOne(int,bool) method.
Now I am familiar with threading, events, mutexes, synchronization issues,
etc, but I am still baffled by the second parameter to this method. This is
what the MSDN documentation says about the bool parameter to WaitOne:
"exitContext: true to exit the synchronization domain for the context before
the wait (if in a synchronized context), and reacquire it; otherwise, false"
Can anyone explain in english what this means? Perhaps with an example?
Thanks!
-Jim
I have a question regarding the Event classes. The ManualResetEvent class
exposes the WaitOne(int,bool) method.
Now I am familiar with threading, events, mutexes, synchronization issues,
etc, but I am still baffled by the second parameter to this method. This is
what the MSDN documentation says about the bool parameter to WaitOne:
"exitContext: true to exit the synchronization domain for the context before
the wait (if in a synchronized context), and reacquire it; otherwise, false"
Can anyone explain in english what this means? Perhaps with an example?
Thanks!
-Jim