| ThreadPool Class |
Namespace: AsterNET.Util
The ThreadPool type exposes the following members.
| Name | Description | |
|---|---|---|
| ThreadPool |
Creates a new ThreadPool of numThreads size. These Threads are waiting
for jobs to be added via the addJob method.
|
| Name | Description | |
|---|---|---|
| AddJob | Adds a new job to the queue. This will be picked up by the next available
active thread.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it 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.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Shutdown | Turn off the pool. Every thread, when finished with its current work,
will realize that the pool is no longer running, and will exit.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |