Adding thread handle to logging.
This commit is contained in:
@@ -35,7 +35,7 @@ void EnableAffinityConfiguration() {
|
||||
SetProcessAffinityMask(process_handle, system_affinity_mask);
|
||||
}
|
||||
|
||||
uint32_t current_thread_id() {
|
||||
uint32_t current_thread_system_id() {
|
||||
return static_cast<uint32_t>(GetCurrentThreadId());
|
||||
}
|
||||
|
||||
@@ -358,7 +358,7 @@ class Win32Thread : public Win32Handle<Thread> {
|
||||
}
|
||||
|
||||
int32_t priority() override { return GetThreadPriority(handle_); }
|
||||
uint32_t id() const override { return GetThreadId(handle_); }
|
||||
uint32_t system_id() const override { return GetThreadId(handle_); }
|
||||
|
||||
void set_priority(int32_t new_priority) override {
|
||||
SetThreadPriority(handle_, new_priority);
|
||||
|
||||
Reference in New Issue
Block a user