commit | f3e767754031663427d66f57266ade5a20333aad | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Mon Jan 09 22:32:11 2017 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Mon Jan 09 22:32:11 2017 +0000 |
tree | 8d956f5c773c9899d51a70b0244afcc2f2936a08 | |
parent | 8fe92cc0c9d18f61723ac89b5ccfd307ed7ecbca [diff] |
Swap two lines in __mutex_base. On systems with high clock rates, we could mistakenly return no_timeout when a mutex had timed out if we got a tick between these two lines. Thanks to Brian Cain for the bug report. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@291492 91177308-0d34-0410-b5e6-96231b3b80d8