|
-
April 23rd, 2008, 01:55 AM
#1
WaitOne exitContext
Hello everyone,
I am confused after reading the exitContext parameter from MSDN,
http://msdn2.microsoft.com/en-us/lib...t0(VS.80).aspx
What does the context mean? Does it mean if I acquire some lock (e.g. lock, readwrite lock, monitor) before invoking WaitOne, then when calling WaitOne, the locks are automatically released?
So, when the thread is waking up again by signal from WaitOne or timeout from WaitOne, it will have to try to acquire the lock or locks again before execution?
thanks in advance,
George
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|