tsan: fix a potential hang
authorDmitry Vyukov <dvyukov@google.com>
Tue, 8 Jul 2014 13:36:59 +0000 (13:36 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Tue, 8 Jul 2014 13:36:59 +0000 (13:36 +0000)
commitedbb54d60c98cd5d99d90ad614642c80664bd9e0
tree463f119e149727c99310ed2ccfe643137280b420
parenta480d3013a76d5610b4e5939e27dcbf01bc92b43
tsan: fix a potential hang

idx0 is not updated in the branch,
so if we take that branch idx0 will stay updated forever

llvm-svn: 212532
compiler-rt/lib/tsan/rtl/tsan_sync.cc