| 1724 | } |
| 1725 | |
| 1726 | static 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 |
no test coverage detected