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