C# Class NPerf.Core.Communication.NamedSemaphore

Datei anzeigen Open project: Orcomp/NPerf Class Usage Examples

Public Methods

Method Description
OpenOrCreate ( string name, int initialCount, int maximumCount ) : Semaphore

Private Methods

Method Description
TryOpenExistingSemaphore ( string name, Semaphore &semaphore ) : bool

Method Details

OpenOrCreate() public static method

public static OpenOrCreate ( string name, int initialCount, int maximumCount ) : Semaphore
name string
initialCount int
maximumCount int
return System.Threading.Semaphore