C# Class SagaDB.DatabaseWaitress

Mostrar archivo Open project: Willyham/SagaRO2 Class Usage Examples

Public Properties

Property Type Description
Coordinator Thread
waitingWaitressesCount uint
waitressCountLock Object
waitressHasFinished System.Threading.ManualResetEvent
waitressQueue System.Threading.AutoResetEvent

Public Methods

Method Description
AddWaitingWaitress ( ) : void
EnterCriticalArea ( ) : void
LeaveCriticalArea ( ) : void
RemoveWaitingWaitress ( ) : void
packetCoordinationLoop ( ) : void

Method Details

AddWaitingWaitress() public static method

public static AddWaitingWaitress ( ) : void
return void

EnterCriticalArea() public static method

public static EnterCriticalArea ( ) : void
return void

LeaveCriticalArea() public static method

public static LeaveCriticalArea ( ) : void
return void

RemoveWaitingWaitress() public static method

public static RemoveWaitingWaitress ( ) : void
return void

packetCoordinationLoop() public static method

public static packetCoordinationLoop ( ) : void
return void

Property Details

Coordinator public_oe static_oe property

public static Thread Coordinator
return Thread

waitingWaitressesCount public_oe static_oe property

public static uint waitingWaitressesCount
return uint

waitressCountLock public_oe static_oe property

public static Object waitressCountLock
return Object

waitressHasFinished public_oe static_oe property

public static ManualResetEvent,System.Threading waitressHasFinished
return System.Threading.ManualResetEvent

waitressQueue public_oe static_oe property

public static AutoResetEvent,System.Threading waitressQueue
return System.Threading.AutoResetEvent