C# Class UnitWrappers.System.Threading.ThreadPoolWrap

Inheritance: IThreadPool
Mostrar archivo Open project: OpenSharp/UnitWrappers

Public Methods

Method Description
GetAvailableThreads ( int &workerThreads, int &completionPortThreads ) : void
GetMaxThreads ( int &workerThreads, int &completionPortThreads ) : void
GetMinThreads ( int &workerThreads, int &completionPortThreads ) : void

Private Methods

Method Description
QueueUserWorkItem ( WaitCallback callBack ) : bool
QueueUserWorkItem ( WaitCallback callBack, object state ) : bool
RegisterWaitForSingleObject ( WaitHandle waitObject, WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce ) : RegisteredWaitHandle
SetMaxThreads ( int workerThreads, int completionPortThreads ) : bool
SetMinThreads ( int workerThreads, int completionPortThreads ) : bool

Method Details

GetAvailableThreads() public method

public GetAvailableThreads ( int &workerThreads, int &completionPortThreads ) : void
workerThreads int
completionPortThreads int
return void

GetMaxThreads() public method

public GetMaxThreads ( int &workerThreads, int &completionPortThreads ) : void
workerThreads int
completionPortThreads int
return void

GetMinThreads() public method

public GetMinThreads ( int &workerThreads, int &completionPortThreads ) : void
workerThreads int
completionPortThreads int
return void