C# Class MOUSE.Core.Fibers.ReadWriteLockingFiber

Inheritance: IFiber
显示文件 Open project: Rurouni/MassiveOnlineUniversalServerEngine Class Usage Examples

Public Methods

Method Description
ProcessAsync ( Func func, LockType lockType ) : void
ReadWriteLockingFiber ( int readParallelism = 10, int maxQueueSize = 10000 ) : System
Stop ( ) : void

Private Methods

Method Description
ProcessFunc ( Func func ) : Task

Method Details

ProcessAsync() public method

public ProcessAsync ( Func func, LockType lockType ) : void
func Func
lockType LockType
return void

ReadWriteLockingFiber() public method

public ReadWriteLockingFiber ( int readParallelism = 10, int maxQueueSize = 10000 ) : System
readParallelism int
maxQueueSize int
return System

Stop() public method

public Stop ( ) : void
return void