Jam |
The JamThread type exposes the following members.
| Name | Description | |
|---|---|---|
| JamThread(WorkerThreadPool) | Sets up a thread. | |
| JamThread(WorkerThreadPool, Boolean) | Sets up a jam thread object |
| Name | Description | |
|---|---|---|
| BusyTime | Returns the time in milliseconds the thread is busy, or -1 if it's idle. | |
| IdleTime | Returns the time in milliseconds the thread is idle since the last time an item has been processed | |
| IsFinished | Returns true if the thread is finished. If this value is set, the thread is woken up in case it is waiting for an event. | |
| WorkItem | Get or set the WorkItem that is currently processed by the thread |
| Name | Description | |
|---|---|---|
| Abort | Stops the thread by calling Abort, this usually terminates the thread. Use this function with caution, aborting a thread while it holds a mutex can cause dead-locks. ThreadAbortException for further details. | |
| Dispose | Implementation of IDisposable | |
| Dispose(Boolean) | Releases ressources. | |
| Join | Joins the thread. | |
| Stop | Stops the thread and indefinitely waits until the processing finished | |
| Stop(Int32) | Stops the processing of items, the thread finishes. |