C# Class Catrobat.IDE.WindowsShared.Utilities.BSemaphore

Inheritance: BWaitHandle, IDisposable
显示文件 Open project: Catrobat/CatrobatForWindows Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BSemaphore ( ) : System
BSemaphore ( int initialCount, int maxCount ) : System
Dispose ( ) : void
Release ( ) : void
WaitOne ( ) : bool
WaitOne ( System.TimeSpan timeout ) : bool
WaitOne ( int millisecondsTimeout ) : bool

Protected Methods

Method Description
OnSuccessfullWait ( ) : void

Method Details

BSemaphore() public method

public BSemaphore ( ) : System
return System

BSemaphore() public method

public BSemaphore ( int initialCount, int maxCount ) : System
initialCount int
maxCount int
return System

Dispose() public method

public Dispose ( ) : void
return void

OnSuccessfullWait() protected method

protected OnSuccessfullWait ( ) : void
return void

Release() public method

public Release ( ) : void
return void

WaitOne() public method

public WaitOne ( ) : bool
return bool

WaitOne() public method

public WaitOne ( System.TimeSpan timeout ) : bool
timeout System.TimeSpan
return bool

WaitOne() public method

public WaitOne ( int millisecondsTimeout ) : bool
millisecondsTimeout int
return bool