std::mutex Deadlock Prevention

Which techniques can help prevent deadlock when using multiple std::mutex objects?