C# 클래스 WinRTXamlToolkit.Async.AsyncBarrier

Enables multiple tasks to cooperatively work on an algorithm in parallel through multiple phases.
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 메소드들

메소드 설명
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