mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
creating all our mutexes with the same name very bad :P
This commit is contained in:
parent
55c898b880
commit
206797c6f9
@ -189,7 +189,7 @@ slock_t *slock_new(void)
|
||||
return NULL;
|
||||
|
||||
#ifdef _WIN32
|
||||
lock->lock = CreateMutex(NULL, FALSE, "RetroArchMutex");
|
||||
lock->lock = CreateMutex(NULL, FALSE, NULL);
|
||||
if (!lock->lock)
|
||||
#else
|
||||
if (pthread_mutex_init(&lock->lock, NULL) < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user