C# Класс WinRTXamlToolkit.Async.AsyncBarrier

Enables multiple tasks to cooperatively work on an algorithm in parallel through multiple phases.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AsyncBarrier() публичный Метод

Initializes a new instance of the AsyncBarrier class.
participantCount
public AsyncBarrier ( int participantCount ) : System
participantCount int The participant count.
Результат System

SignalAndWait() публичный Метод

Signals that a participant has reached the barrier and waits for all other participants to reach the barrier as well.
public SignalAndWait ( ) : Task
Результат Task