mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Add information about unnamed/main threads in logs and fatal dialog
* If thread is unnamed, keep log name empty for main thread, otherwise print thread id. In fatal dialog, main thread can be handled differently (with special remark that it's main thread). * Always print thread id in fatal dialog, regardless of thread type. Co-authored-by: Nekotekina <nekotekina@gmail.com>
This commit is contained in:
parent
40f3adc45f
commit
cd6ef2958b
6 changed files with 55 additions and 34 deletions
|
@ -88,7 +88,7 @@ atomic_t<u32> g_progr_ptotal{0};
|
|||
atomic_t<u32> g_progr_pdone{0};
|
||||
|
||||
// Report error and call std::abort(), defined in main.cpp
|
||||
[[noreturn]] void report_fatal_error(const std::string&);
|
||||
[[noreturn]] void report_fatal_error(std::string_view);
|
||||
|
||||
namespace
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue