Signals that a participant has reached the barrier and waits for all other participants to reach the barrier as well, using a TimeSpan object to measure the time interval.
Syntax
Parameters
- timeout
-
A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 milliseconds to wait indefinitely.
Returns
true if all other participants reached the barrier; otherwise, false.
Remarks
Requirements
Namespace: System.Threading
Assembly: System (in System.dll)
Assembly Versions: 4.0.0.0