This constructor creates a new detached (default) or joinable C++ thread object.
Creates a new thread.
Calling Delete() gracefully terminates a detached thread, either when the thread calls TestDestroy() or when it finishes processing.
This is the entry point of the thread.
Gets the thread identifier: this is a platform dependent number that uniquely identifies the thread throughout the system during its existence (i.e.
Returns the thread kind as it was given in the ctor.
Gets the priority of the thread, between zero and 100.
Returns true if the thread is alive (i.e.
Returns true if the thread is of the detached kind, false if it is a joinable one.
Returns true if the thread is paused.
Returns true if the thread is running.
Immediately terminates the target thread.
Suspends the thread.
Resumes a thread suspended by the call to Pause().
Starts the thread execution.
Sets the priority of the thread, between 0 and 100.
This function should be called periodically by the thread to ensure that calls to Pause() and Delete() will work.
Waits for a joinable thread to terminate and returns the value the thread returned from Entry() or "(ExitCode)-1" on error.