MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / append_thread_name

Function append_thread_name

rpcs3/util/Thread.cpp:1726–1740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1724}
1725
1726static void append_thread_name(std::string& msg)
1727{
1728 if (thread_ctrl::get_current())
1729 {
1730 fmt::append(msg, "Emu Thread Name: '%s'.\n", thread_ctrl::get_name());
1731 }
1732 else if (thread_ctrl::is_main())
1733 {
1734 fmt::append(msg, "Thread: Main Thread.\n");
1735 }
1736 else
1737 {
1738 fmt::append(msg, "Thread id = %u.\n", thread_ctrl::get_tid());
1739 }
1740}
1741
1742#ifdef _WIN32
1743

Callers 3

exception_filterFunction · 0.85
signal_handlerFunction · 0.85
sigill_handlerFunction · 0.85

Calls 1

appendFunction · 0.85

Tested by

no test coverage detected