#include <OnixS/FIXEngine/Threading/Thread.h>
Custom thread classes should derive from this class and implement the 'run' method.
Definition at line 101 of file Thread.h.
Thread |
( |
const std::string & |
name | ) |
|
|
explicit |
Creates the Thread
object without running a real thread.
Cleans up internal resources.
- Note
- Calls the
std::terminate
if the thread is not stopped at the moment.
Returns the platform identifier.
Joins the thread completion.
Creates and runs an actual thread.
Can be called only once for the current 'Thread' instance.
- Exceptions
-
The | std::exception if the thread is started or joined already. |
Sends a stop signal to the thread.
bool stopRequested |
( |
| ) |
const |
Returns 'true' if a stop signal is sent to the thread by the stopAsync
method or in a different way, otherwise 'false'.
The documentation for this class was generated from the following file: