mirror of
https://github.com/zoriya/nitro.git
synced 2026-10-13 00:05:23 +00:00
24 lines
379 B
C++
24 lines
379 B
C++
//
|
|
// ThreadUtils.hpp
|
|
// react-native-nitro
|
|
//
|
|
// Created by Marc Rousavy on 14.07.24.
|
|
//
|
|
|
|
#include <string>
|
|
|
|
namespace margelo::nitro {
|
|
|
|
class ThreadUtils final {
|
|
public:
|
|
ThreadUtils() = delete;
|
|
|
|
/**
|
|
* Get the current Thread's name.
|
|
* This is implemented differently on iOS and Android.
|
|
*/
|
|
static std::string getThreadName();
|
|
};
|
|
|
|
} // namespace margelo::nitro
|