Discuss Meridian 59 changes.
- Posts: 1
- Joined: Tue May 05, 2020 6:19 am
Could someone recommend specific resources and tutorials to read up on mutexes? I have never touched mutexes and am trying to understand the function InitInterfaceLocks() called by MainServer():
Code: Select all
muxServer = MutexCreate();
quit = False;
return CreateMutex(NULL, FALSE, NULL);
void InitializeCriticalSection(CRITICAL_SECTION *m)
- Posts: 35
- Joined: Sun Aug 21, 2016 3:47 am
- Location: United States
A mutex is a flag used to prevent simultaneous access to resources.
While I could make up an analogy, there are plenty of examples here: many of which have good discussions and further reading details.
https://stackoverflow.com/questions/345 ... is-a-mutex