C# Класс Plugin.Semaphore

Helps managing function calls in multithreaded environments
Показать файл Открыть проект Примеры использования класса

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

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