Autonomic Performance Environment for eXascale (APEX)
2.3.1
|
A convenience class for creating a scoped thread. More...
#include <apex_api.hpp>
Public Member Functions | |
scoped_thread (const std::string &thread_name) | |
Constructor. More... | |
~scoped_thread () | |
Destructor. | |
A convenience class for creating a scoped thread.
This object will register a thread when it starts, and when the object goes out of scope, it will tell APEX that the thread has exited.
|
inline |
Constructor.
thread_name | The name of this thread (nullptr allowed). |