Bitcoin Core
31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
src
util
threadnames.h
Go to the documentation of this file.
1
// Copyright (c) 2018-present The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_UTIL_THREADNAMES_H
6
#define BITCOIN_UTIL_THREADNAMES_H
7
8
#include <string>
9
10
namespace
util
{
15
void
ThreadRename
(
const
std::string&);
16
18
void
ThreadSetInternalName
(
const
std::string&);
19
22
std::string
ThreadGetInternalName
();
23
24
}
// namespace util
25
26
#endif
// BITCOIN_UTIL_THREADNAMES_H
util
Definition
httpserver.h:13
util::ThreadRename
void ThreadRename(const std::string &)
Definition
threadnames.cpp:55
util::ThreadGetInternalName
std::string ThreadGetInternalName()
Definition
threadnames.cpp:45
util::ThreadSetInternalName
void ThreadSetInternalName(const std::string &)
Set the internal (in-memory) name of the current thread only.
Definition
threadnames.cpp:61
Generated on
for Bitcoin Core by
1.16.1