creating all our mutexes with the same name very bad :P

This commit is contained in:
Toad King 2015-02-08 22:51:45 -06:00
parent 55c898b880
commit 206797c6f9

View File

@ -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)