3 ms·
Is that a multi semaphore/mutex primitive? Something to try and resolve the perf and/or correctness issues you can hit when dealing with multiple locks (ie thin
by olliej 3y ago
Is that a multi semaphore/mutex primitive? Something to try and resolve the perf and/or correctness issues you can hit when dealing with multiple locks (ie things like straight deadlocks `a.lock();b.lock()` vs `b.lock();a.lock()` vs `a.lock();b.lock()` alongside threads just using the sub locks independently)
- dmitrygr 3y agohttps://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-waitformultipleobjects https://learn.microsoft.com/en-us/windows/win32/api/synchapi...