Bitcoin
Functions | Variables
threadnames.cpp File Reference
#include <atomic>
#include <thread>
#include <util/threadnames.h>

Functions

static void SetThreadName (const char *name)
 
static void SetInternalName (std::string name)
 

Variables

static const std::string empty_string
 

Function Documentation

◆ SetInternalName()

static void SetInternalName ( std::string  name)
static

◆ SetThreadName()

static void SetThreadName ( const char *  name)
static

Set the thread's name at the process level. Does not affect the internal name.

Variable Documentation

◆ empty_string

const std::string empty_string
static