C# 클래스 Indiefreaks.Xna.Threading.Semaphore

A semaphore class.
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
Release ( ) : void

Adds one resource.

Semaphore ( int maximumCount ) : System.Threading

Creates a new instance of the Semaphore class.

WaitOne ( ) : void

Blocks the calling thread until resources are made available, then consumes one resource.

메소드 상세

Release() 공개 메소드

Adds one resource.
public Release ( ) : void
리턴 void

Semaphore() 공개 메소드

Creates a new instance of the Semaphore class.
public Semaphore ( int maximumCount ) : System.Threading
maximumCount int
리턴 System.Threading

WaitOne() 공개 메소드

Blocks the calling thread until resources are made available, then consumes one resource.
public WaitOne ( ) : void
리턴 void