rippled
Loading...
Searching...
No Matches
include
xrpl
beast
core
CurrentThreadName.h
1
// Portions of this file are from JUCE (http://www.juce.com).
2
// Copyright (c) 2013 - Raw Material Software Ltd.
3
// Please visit http://www.juce.com
4
5
#ifndef BEAST_CORE_CURRENT_THREAD_NAME_H_INCLUDED
6
#define BEAST_CORE_CURRENT_THREAD_NAME_H_INCLUDED
7
8
#include <
string
>
9
#include <
string_view
>
10
11
namespace
beast
{
12
16
void
17
setCurrentThreadName
(
std::string_view
newThreadName);
18
27
std::string
28
getCurrentThreadName
();
29
30
}
// namespace beast
31
32
#endif
std::string
std::string_view
beast
Definition
base_uint.h:653
beast::setCurrentThreadName
void setCurrentThreadName(std::string_view newThreadName)
Changes the name of the caller thread.
Definition
CurrentThreadName.cpp:100
beast::getCurrentThreadName
std::string getCurrentThreadName()
Returns the name of the caller thread.
Definition
CurrentThreadName.cpp:94
string
string_view
Generated by
1.9.8