mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 17:21:16 +00:00
Fixed race conditions in thread tests; exposed by UBSan
llvm-svn: 178029
This commit is contained in:
1 parent
414ef565bb
commit
a6d24cc19d
13 files changed
+19
-15
No files matched your search
+1
-1
@@ -32,7 +32,7 @@ public:
|
||||
void operator()()
|
||||
{
|
||||
assert(alive_ == 1);
|
||||
assert(n_alive == 1);
|
||||
assert(n_alive >= 1);
|
||||
op_run = true;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user