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:
@@ -313,7 +313,7 @@ network_reset(void)
|
||||
/* If no active card, we're done. */
|
||||
if ((network_type==NET_TYPE_NONE) || (network_card==0)) return;
|
||||
|
||||
network_mutex = thread_create_mutex(L"VARCem.NetMutex");
|
||||
network_mutex = thread_create_mutex();
|
||||
|
||||
/* Initialize the platform module. */
|
||||
switch(network_type) {
|
||||
|
||||
Reference in New Issue
Block a user