Sets the name of the current thread for the lifetime of this object. More...
#include "test/scoped_set_thread_name.h"
Public Member Functions | |
ScopedSetThreadName (const std::string &new_thread_name) | |
ScopedSetThreadName (const ScopedSetThreadName &)=delete | |
ScopedSetThreadName & | operator= (const ScopedSetThreadName &)=delete |
Static Public Member Functions | |
static bool | IsSupported () |
Returns true if Windows supports setting and getting thread name. | |
Sets the name of the current thread for the lifetime of this object.