Autonomic Performance Environment for eXascale (APEX)  2.3.1
Public Member Functions | List of all members
apex::scoped_thread Class Reference

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ scoped_thread()

apex::scoped_thread::scoped_thread ( const std::string &  thread_name)
inline

Constructor.

Parameters
thread_nameThe name of this thread (nullptr allowed).

The documentation for this class was generated from the following file: