Bitcoin Core  0.19.99
P2P Digital Currency
Functions | Variables
threadnames.cpp File Reference
#include <thread>
#include <util/threadnames.h>
Include dependency graph for threadnames.cpp:

Go to the source code of this file.

Functions

static void SetThreadName (const char *name)
 Set the thread's name at the process level. More...
 
static void SetInternalName (std::string name)
 

Variables

static const std::string empty_string
 

Function Documentation

◆ SetInternalName()

static void SetInternalName ( std::string  name)
static

Definition at line 54 of file threadnames.cpp.

Here is the caller graph for this function:

◆ SetThreadName()

static void SetThreadName ( const char *  name)
static

Set the thread's name at the process level.

Does not affect the internal name.

Definition at line 24 of file threadnames.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ empty_string

const std::string empty_string
static

Definition at line 52 of file threadnames.cpp.