3 ms·
That’s only an implementation/optimization difference, I think it’s also relevant to understand why that’s the case. At the API level, the important distinction
by codeflo 4y ago
That’s only an implementation/optimization difference, I think it’s also relevant to understand why that’s the case. At the API level, the important distinction is that a Mutex an be shared between processes. This is great when you need it, but having the capability makes Mutexes have a somewhat expensive implementation. CriticalSections stay inside the process, so can be optimized for that (more common) use case.
- dblohm7 4y agoPrecisely.