System.Threading.Barrier.SignalAndWait Method

Signals that a participant has reached the barrier and waits for all other participants to reach the barrier as well, using a 32-bit signed integer to measure the timeout.

Syntax

public bool SignalAndWait (int millisecondsTimeout)

Parameters

millisecondsTimeout
The number of milliseconds to wait, or Timeout.Infinite(-1) to wait indefinitely.

Returns

if all participants reached the barrier within the specified time; otherwise false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Threading
Assembly: System (in System.dll)
Assembly Versions: 4.0.0.0