Thread ID lookup and naming.
This commit is contained in:
@@ -46,6 +46,8 @@ public:
|
||||
uint32_t thread_id();
|
||||
uint32_t last_error();
|
||||
void set_last_error(uint32_t error_code);
|
||||
const char* name() const { return name_; }
|
||||
void set_name(const char* name);
|
||||
|
||||
X_STATUS Create();
|
||||
X_STATUS Exit(int exit_code);
|
||||
@@ -83,6 +85,8 @@ private:
|
||||
uint32_t thread_state_address_;
|
||||
cpu::XenonThreadState* thread_state_;
|
||||
|
||||
char* name_;
|
||||
|
||||
uint32_t irql_;
|
||||
|
||||
XEvent* event_;
|
||||
|
||||
Reference in New Issue
Block a user