G
Guest
Can anyone tell me what is a synchronization domain? Or you can also direct
me to a good article.
<quote_from_msdn>
Waits for any of the elements in the specified array to receive a signal,
using a 32-bit signed integer to measure the time interval, and specifying
whether to exit the synchronization domain before the wait.
[Visual Basic]
Overloads Public Shared Function WaitAny( _
ByVal waitHandles() As WaitHandle, _
ByVal millisecondsTimeout As Integer, _
ByVal exitContext As Boolean _
) As Integer
[C#]
public static int WaitAny(
WaitHandle[] waitHandles,
int millisecondsTimeout,
bool exitContext
);
Parameters
waitHandles
A WaitHandle array containing the objects for which the current instance
will wait.
millisecondsTimeout
The number of milliseconds to wait, or Timeout.Infinite (-1) to wait
indefinitely.
exitContext
true to exit the synchronization domain for the context before the wait (if
in a synchronized context), and reacquire it; otherwise, false.
</quote_from_msdn>
me to a good article.
<quote_from_msdn>
Waits for any of the elements in the specified array to receive a signal,
using a 32-bit signed integer to measure the time interval, and specifying
whether to exit the synchronization domain before the wait.
[Visual Basic]
Overloads Public Shared Function WaitAny( _
ByVal waitHandles() As WaitHandle, _
ByVal millisecondsTimeout As Integer, _
ByVal exitContext As Boolean _
) As Integer
[C#]
public static int WaitAny(
WaitHandle[] waitHandles,
int millisecondsTimeout,
bool exitContext
);
Parameters
waitHandles
A WaitHandle array containing the objects for which the current instance
will wait.
millisecondsTimeout
The number of milliseconds to wait, or Timeout.Infinite (-1) to wait
indefinitely.
exitContext
true to exit the synchronization domain for the context before the wait (if
in a synchronized context), and reacquire it; otherwise, false.
</quote_from_msdn>