3 ms·
The solution with multiple locks is to always take them in the same defined order on any code path - that guarantees that you can't get into deadlock situations
by tsimionescu 7y ago
The solution with multiple locks is to always take them in the same defined order on any code path - that guarantees that you can't get into deadlock situations.