Ken Varn wrote:
Quote:
If I have a thread that calls WaitOne() on a Mutex object with no arguments,
is the Mutex owned by the calling thread once the WaitOne() call returns? |
Yes.
Quote:
I am confused about the bool argument of the Mutex. If false is passed to a
WaitOne call, is the mutex then acquired by the calling thread or does it
just indicate that the mutex is now free, but not acquired? |
No. The boolean parameter is for use with a ContextBoundObject. That's
a complex subject, and odds are good that you'd know if you were using
a ContextBoundObject if you were.
--
..NET 2.0 for Delphi Programmers
www.midnightbeach.com/.net
Delphi skills make .NET easy to learn Great reviews & good sales.