C# 클래스 Plugin.Semaphore

Helps managing function calls in multithreaded environments
파일 보기 프로젝트 열기: Silveryard/SmartHome 1 사용 예제들

공개 메소드들

메소드 설명
Dequeue ( ) : void

Tells the semaphore that the current object is done with its work

Enqueue ( ) : void

Tells the semaphore so wait until its the invokers turn

Semaphore ( ) : System

Creates a new instance

Wait ( object obj ) : void

Waits until its the specified objects turn

메소드 상세

Dequeue() 공개 메소드

Tells the semaphore that the current object is done with its work
public Dequeue ( ) : void
리턴 void

Enqueue() 공개 메소드

Tells the semaphore so wait until its the invokers turn
public Enqueue ( ) : void
리턴 void

Semaphore() 공개 메소드

Creates a new instance
public Semaphore ( ) : System
리턴 System

Wait() 공개 메소드

Waits until its the specified objects turn
public Wait ( object obj ) : void
obj object The waiting object
리턴 void