The SimpleThreadPool type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SimpleThreadPool |
Create a new (unconfigured) SimpleThreadPool.
| |
SimpleThreadPool(Int32, ThreadPriority) |
Create a new SimpleThreadPool with the specified number
of Thread s that have the given priority.
|
Methods
Name | Description | |
---|---|---|
BlockForAvailableThreads | ||
ClearFromBusyWorkersList | ||
CreateWorkerThreads |
Creates the worker threads.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
Called by the QuartzScheduler before the ThreadPool is
used, in order to give the it a chance to Initialize.
| |
MakeAvailable | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RunInThread |
Run the given IThreadRunnable object in the next available
Thread. If while waiting the thread pool is asked to
shut down, the Runnable is executed immediately within a new additional
thread.
| |
Shutdown |
Terminate any worker threads in this thread group.
Jobs currently in progress will complete.
| |
Shutdown(Boolean) |
Terminate any worker threads in this thread group.
Jobs currently in progress will complete.
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
MakeThreadsDaemons |
Gets or sets the value of makeThreadsDaemons.
| |
PoolSize |
Gets the size of the pool.
| |
ThreadCount |
Gets or sets the number of worker threads in the pool.
Set has no effect after Initialize has been called.
| |
ThreadNamePrefix |
Gets or sets the thread name prefix.
| |
ThreadPriority |
Get or set the thread priority of worker threads in the pool.
Set operation has no effect after Initialize has been called.
|
See Also