mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Update thread names (#1120)
This commit is contained in:
parent
731713de3a
commit
eaa82817dd
20 changed files with 29 additions and 12 deletions
|
@ -143,7 +143,7 @@ WiimoteControllerProvider::WiimoteState WiimoteControllerProvider::get_state(siz
|
|||
|
||||
void WiimoteControllerProvider::reader_thread()
|
||||
{
|
||||
SetThreadName("WiimoteControllerProvider::reader_thread");
|
||||
SetThreadName("Wiimote-reader");
|
||||
std::chrono::steady_clock::time_point lastCheck = {};
|
||||
while (m_running.load(std::memory_order_relaxed))
|
||||
{
|
||||
|
@ -878,7 +878,7 @@ void WiimoteControllerProvider::set_motion_plus(size_t index, bool state)
|
|||
|
||||
void WiimoteControllerProvider::writer_thread()
|
||||
{
|
||||
SetThreadName("WiimoteControllerProvider::writer_thread");
|
||||
SetThreadName("Wiimote-writer");
|
||||
while (m_running.load(std::memory_order_relaxed))
|
||||
{
|
||||
std::unique_lock writer_lock(m_writer_mutex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue