Hello everyone,

I am confused after reading the exitContext parameter from MSDN,


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,