WaitAll Method
MSDN Home
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
Class Library Reference
System.Threading
WaitHandle Class
WaitHandle Methods
WaitAll Method
WaitAll Method (WaitHandle[])
WaitAll Method (WaitHandle[], ...
WaitAll Method (WaitHandle[], ...
WaitHandle Methods
Close Method
Dispose Method
SignalAndWait Method
System.IDisposable.Dispose Met ...
WaitAll Method
WaitAny Method
WaitOne Method
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
WaitHandle.WaitAll Method
Waits for all the elements in the specified array to receive a signal.
Overload List
Name
Description
WaitHandle.WaitAll (WaitHandle[])
Waits for all the elements in the specified array to receive a signal.
WaitHandle.WaitAll (WaitHandle[], Int32, Boolean)
Waits for all the elements in the specified array to receive a signal, using an
Int32
value to measure the time interval and specifying whether to exit the synchronization domain before the wait.
WaitHandle.WaitAll (WaitHandle[], TimeSpan, Boolean)
Waits for all the elements in the specified array to receive a signal, using a
TimeSpan
value to measure the time interval, and specifying whether to exit the synchronization domain before the wait.
See Also
Reference
WaitHandle Class
WaitHandle Members
System.Threading Namespace
Tags :
Community Content
Kristof Verbiest
Alternative using the threadpool
Waiting for an object can also be achieved using the threadpool. In some situations this is better because it means you don't need a dedicated thread to wait for the object.
Read more about this here:
http://kristofverbiest.blogspot.com/2008/08/dont-use-dedicated-thread-to-wait-on.html
Tags :