LeviLamina
Loading...
Searching...
No Matches
ThreadName.h
1
#pragma once
2
3
#include <string>
4
#include <string_view>
5
#include <thread>
6
7
#include "ll/api/base/Macro.h"
8
9
namespace
ll::thread {
10
LLNDAPI std::optional<std::string> getThreadName(std::thread::id
id
= std::this_thread::get_id());
11
LLAPI
bool
setThreadName(std::string_view name, std::thread::id
id
= std::this_thread::get_id());
12
}
// namespace ll::thread
src
ll
api
thread
ThreadName.h
Generated on Sat Apr 26 2025 05:55:20 for LeviLamina by
1.12.0