C# Class WinRTXamlToolkit.Async.AsyncBarrier

Enables multiple tasks to cooperatively work on an algorithm in parallel through multiple phases.
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Méthode Description
AsyncBarrier ( int participantCount ) : System

Initializes a new instance of the AsyncBarrier class.

SignalAndWait ( ) : Task

Signals that a participant has reached the barrier and waits for all other participants to reach the barrier as well.

Method Details

AsyncBarrier() public méthode

Initializes a new instance of the AsyncBarrier class.
participantCount
public AsyncBarrier ( int participantCount ) : System
participantCount int The participant count.
Résultat System

SignalAndWait() public méthode

Signals that a participant has reached the barrier and waits for all other participants to reach the barrier as well.
public SignalAndWait ( ) : Task
Résultat Task