libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
qi::os::ScopedThreadName Class Reference

Set the current thread name and restore it after use. More...

#include <os.hpp>

Public Member Functions

 ScopedThreadName (const std::string &newName)
 
 ~ScopedThreadName ()
 

Detailed Description

Set the current thread name and restore it after use.

Warning
this feature can be considered as slow and should only used when the task is long

Definition at line 595 of file os.hpp.

Constructor & Destructor Documentation

qi::os::ScopedThreadName::ScopedThreadName ( const std::string &  newName)
inline

Definition at line 597 of file os.hpp.

qi::os::ScopedThreadName::~ScopedThreadName ( )
inline

Definition at line 600 of file os.hpp.


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