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;
|
return NULL;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
lock->lock = CreateMutex(NULL, FALSE, "RetroArchMutex");
|
lock->lock = CreateMutex(NULL, FALSE, NULL);
|
||||||
if (!lock->lock)
|
if (!lock->lock)
|
||||||
#else
|
#else
|
||||||
if (pthread_mutex_init(&lock->lock, NULL) < 0)
|
if (pthread_mutex_init(&lock->lock, NULL) < 0)
|
||||||
|
|
Loading…
Reference in New Issue