6 ms·
If order of locks is important maybe it's worth considering putting them in an array.
by bluecalm 8y ago
If order of locks is important maybe it's worth considering putting them in an array.
- oconnor663 8y agoOr maybe keeping a global atomic counter, and reading a unique (to the process) value out of it every time you create a mutex?