mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Use gettid() on Linux, don't use std:🧵:id
pthread_self() returns a large opaque pointer which is harder to use.
This commit is contained in:
parent
0c6df39a45
commit
786510a937
5 changed files with 12 additions and 20 deletions
|
@ -101,7 +101,7 @@ LOG_CHANNEL(q_debug, "QDEBUG");
|
|||
buf = std::string(_text);
|
||||
|
||||
// Always print thread id
|
||||
fmt::append(buf, "\n\nThread id = %s.", std::this_thread::get_id());
|
||||
fmt::append(buf, "\n\nThread id = %u.", thread_ctrl::get_tid());
|
||||
}
|
||||
|
||||
if (!g_tls_serialize_name.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue