Method | Description | |
---|---|---|
CustomThreadPool ( string name, int threadPoolSize = DefaultThreadPoolSize, ThreadPriority priority = ThreadPriority.Normal ) : System | ||
Dispose ( ) : void | ||
Join ( System.TimeSpan timeout ) : bool | ||
Join ( ) : void | ||
StartUserWorkItem ( WaitCallback callBack, System.TimeSpan timeout ) : bool | ||
StartUserWorkItem ( WaitCallback callBack, object parameter = null ) : bool | ||
StartUserWorkItem ( WaitCallback callBack, object parameter, System.TimeSpan timeout ) : bool | ||
Terminate ( ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
GetNextIdleThread ( System.TimeSpan timeout ) : |
||
OnIdle ( object sender, |
public CustomThreadPool ( string name, int threadPoolSize = DefaultThreadPoolSize, ThreadPriority priority = ThreadPriority.Normal ) : System | ||
name | string | |
threadPoolSize | int | |
priority | ThreadPriority | |
return | System |
public Join ( System.TimeSpan timeout ) : bool | ||
timeout | System.TimeSpan | |
return | bool |
public StartUserWorkItem ( WaitCallback callBack, System.TimeSpan timeout ) : bool | ||
callBack | WaitCallback | |
timeout | System.TimeSpan | |
return | bool |
public StartUserWorkItem ( WaitCallback callBack, object parameter = null ) : bool | ||
callBack | WaitCallback | |
parameter | object | |
return | bool |
public StartUserWorkItem ( WaitCallback callBack, object parameter, System.TimeSpan timeout ) : bool | ||
callBack | WaitCallback | |
parameter | object | |
timeout | System.TimeSpan | |
return | bool |