// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_CORE_THREADEXT_HPP #define NAZARA_CORE_THREADEXT_HPP #include #include #include #include namespace Nz { NAZARA_CORE_API std::string GetCurrentThreadName(); NAZARA_CORE_API std::string GetThreadName(std::thread& thread); NAZARA_CORE_API void SetCurrentThreadName(const char* name); NAZARA_CORE_API void SetThreadName(std::thread& thread, const char* name); } #include #endif // NAZARA_CORE_THREADEXT_HPP