mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 04:02:42 +01:00
Use pthread_setname_np (Linux, GDB)
This commit is contained in:
parent
4b1c052030
commit
ac82ecf387
@ -1639,6 +1639,10 @@ void thread_ctrl::initialize()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
|
pthread_setname_np(pthread_self(), m_name.substr(0, 15).c_str());
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void thread_ctrl::finalize(std::exception_ptr eptr) noexcept
|
void thread_ctrl::finalize(std::exception_ptr eptr) noexcept
|
||||||
|
Loading…
Reference in New Issue
Block a user