Remove mutex names, fixes #722

Named mutexes are used for inter-process synchronization, using them to synchronize threads of a single process is just begging for trouble when running multiple instances of the application.
This commit is contained in:
David Hrdlička
2020-04-27 13:24:43 +02:00
parent 276cd0cb80
commit 2a5382a97b
5 changed files with 6 additions and 6 deletions

View File

@@ -4997,7 +4997,7 @@ mystique_init(const device_t *info)
mystique->wake_fifo_thread = thread_create_event();
mystique->fifo_not_full_event = thread_create_event();
mystique->fifo_thread = thread_create(fifo_thread, mystique);
mystique->dma.lock = thread_create_mutex(L"86Box.MGAMutex");
mystique->dma.lock = thread_create_mutex();
timer_add(&mystique->wake_timer, mystique_wake_timer, (void *)mystique, 0);
timer_add(&mystique->softrap_pending_timer, mystique_softrap_pending_timer, (void *)mystique, 1);