M
Michael A. Covington
What is the difference between
myMutex.WaitOne(n,false);
and
myMutex.WaitOne(n,true);
where n is a number of milliseconds and myMutex is a Mutex?
The second parameter supposedly says whether to "exit the synchronization
domain before waiting." What does that mean?
Also, can anyone tell me anything about naming of named mutexes? I
understand "Local\\" at the beginning of the name means something, but I
haven't found where this is documented.
Many thanks!
--
Michael A. Covington - Artificial Intelligence Ctr - University of Georgia
"In the core C# language it is simply not possible to have an uninitialized
variable, a 'dangling' pointer, or an expression that indexes an array
beyond its bounds. Whole categories of bugs that routinely plague C and C++
programs are thus eliminated." - A. Hejlsberg, The C# Programming Language
myMutex.WaitOne(n,false);
and
myMutex.WaitOne(n,true);
where n is a number of milliseconds and myMutex is a Mutex?
The second parameter supposedly says whether to "exit the synchronization
domain before waiting." What does that mean?
Also, can anyone tell me anything about naming of named mutexes? I
understand "Local\\" at the beginning of the name means something, but I
haven't found where this is documented.
Many thanks!
--
Michael A. Covington - Artificial Intelligence Ctr - University of Georgia
"In the core C# language it is simply not possible to have an uninitialized
variable, a 'dangling' pointer, or an expression that indexes an array
beyond its bounds. Whole categories of bugs that routinely plague C and C++
programs are thus eliminated." - A. Hejlsberg, The C# Programming Language