Name some threads

This commit is contained in:
Megamouse 2024-01-27 20:33:54 +01:00
parent c3c73c7e24
commit cdfe3ee7c8
6 changed files with 25 additions and 7 deletions

View file

@ -130,6 +130,9 @@ public:
const native_entry entry_point;
// Set name for debugger
static void set_name(std::string);
private:
// Thread handle (platform-specific)
atomic_t<u64> m_thread{0};
@ -160,9 +163,6 @@ private:
// Cleanup after possibly deleting the thread instance
static native_entry finalize(u64 _self) noexcept;
// Set name for debugger
static void set_name(std::string);
// Make entry point
static native_entry make_trampoline(u64(*entry)(thread_base* _base));