BillyONeal added inline comments.
================
Comment at:
test/std/thread/thread.threads/thread.thread.class/thread.thread.member/detach.pass.cpp:75
assert(G::op_run);
assert(G::n_alive == 1);
}
----------------
Actually I just realized that this assert is bogus too; there's no
synchronization to ensure the copied g is destroyed here.
https://reviews.llvm.org/D50549
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits