C# 클래스 NUnit.Framework.Internal.WorkItems.CountdownEvent

A simplified implementation of .NET 4 CountdownEvent for use in earlier versions of .NET. Only the methods used by NUnit are implemented.
파일 보기 프로젝트 열기: pjcollins/Andr.Unit

공개 메소드들

메소드 설명
CountdownEvent ( int initialCount ) : System.Threading

Construct a CountdownEvent

Signal ( ) : void

Decrement the count by one

Wait ( ) : void

Block the thread until the count reaches zero

메소드 상세

CountdownEvent() 공개 메소드

Construct a CountdownEvent
public CountdownEvent ( int initialCount ) : System.Threading
initialCount int The initial count
리턴 System.Threading

Signal() 공개 메소드

Decrement the count by one
public Signal ( ) : void
리턴 void

Wait() 공개 메소드

Block the thread until the count reaches zero
public Wait ( ) : void
리턴 void