title: Is std::mutex fair?
body: <p>As the question states, is <code>std::mutex</code> fair? i.e., if thread A locked the mutex and then B and C call 'lock()' on it in this order, will they obtain the lock on the mutex in this same order or is the order unspecified?</p>
  
  <p>The <a href="http://en.cppreference.com/w/cpp/thread/mutex" rel="nofollow noreferrer">documentation</a> doesn't address this at all. </p>