Improved version of .Net's Thread class
| C# | Visual Basic | Visual C++ |
public class JamThread
Public Class JamThread
public ref class JamThread
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| JamThread(WorkerThreadPool) |
Sets up a thread
| |
| JamThread(WorkerThreadPool, Boolean) |
Sets up a jam thread object
| |
| 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.
| |
| BusyTime |
Returns the time in milliseconds the thread is busy, or -1 if it's idle.
| |
| Equals(Object) | (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.) | |
| 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.
| |
| Join(Int32) |
Joins the thread.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Stop()()() |
Stops the thread and indefinitely waits until the processing finished
| |
| Stop(Int32) |
Stops the ProcessItems()()() loop, the thread finishes.
| |
| ToString()()() | (Inherited from Object.) | |
| WorkItem |
Get or set the WorkItem that is currently processed by the thread
|
| Object | |
| JamThread | |