- Created by David Keaton, last modified on Jan 05, 2016
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 3 Next »
-
Page:CON53-CPP. Avoid deadlock by locking in a predefined order (SEI CERT C++ Coding Standard)
-
Page:CON55-CPP. Preserve thread safety and liveness when using condition variables (SEI CERT C++ Coding Standard)
-
Page:CON56-CPP. Do not speculatively lock a non-recursive mutex that is already owned by the calling thread (SEI CERT C++ Coding Standard)
-
Page:CON52-CPP. Prevent data races when accessing bit-fields from multiple threads (SEI CERT C++ Coding Standard)
-
Page:CON54-CPP. Wrap functions that can spuriously wake up in a loop (SEI CERT C++ Coding Standard)
-
Page:CON50-CPP. Do not destroy a mutex while it is locked (SEI CERT C++ Coding Standard)
-
Page:CON51-CPP. Ensure actively held locks are released on exceptional conditions (SEI CERT C++ Coding Standard)
The following rules from the SEI CERT C Coding Standard also apply in C++:
-
Page:
-
Page:
-
Page:CON37-C. Do not call signal() in a multithreaded program (SEI CERT C Coding Standard)
-
Page:CON43-C. Do not allow data races in multithreaded code (SEI CERT C Coding Standard)
-
Page:CON41-C. Wrap functions that can fail spuriously in a loop (SEI CERT C Coding Standard)
Information for Editors
To have a new guideline automatically listed above be sure to label it dcl andrule.
Risk Assessment Summary
- No labels