In Other Spaces
The page you were looking for may have moved to another space:
-
CON35-C. Avoid deadlock by locking in a predefined order
(SEI CERT C Coding Standard)
Mutexes are used to prevent multiple threads from causing a data race by accessing shared resources at the same time. Sometimes, when locking mutexes, multiple threads hold each other's lock, and the program consequently deadlocks....