mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-07 18:00:17 +02:00
28 lines
661 B
C++
28 lines
661 B
C++
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace FEXCore::HLE {
|
|
// XXX: This should map multiple IDs correctly
|
|
// Tracking relationships between thread IDs and such
|
|
class ThreadManagement {
|
|
public:
|
|
uint64_t GetUID() { return UID; }
|
|
uint64_t GetGID() { return GID; }
|
|
uint64_t GetEUID() { return EUID; }
|
|
uint64_t GetEGID() { return EGID; }
|
|
uint64_t GetTID() { return TID; }
|
|
uint64_t GetPID() { return PID; }
|
|
|
|
uint64_t UID{1000};
|
|
uint64_t GID{1000};
|
|
uint64_t EUID{1000};
|
|
uint64_t EGID{1000};
|
|
uint64_t TID{1};
|
|
uint64_t PID{1};
|
|
uint64_t child_tid{0};
|
|
uint64_t parent_tid{0};
|
|
uint64_t robust_list_head{0};
|
|
bool clear_tid{false};
|
|
};
|
|
}
|