http://llvm.org/bugs/show_bug.cgi?id=21995
David Majnemer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from David Majnemer <[email protected]> --- Upon greater reflection, it's been made aware to me that you are not permitted to race promise::set_value with its destructor. The only thing that promise::set_value needs to do atomically is to atomically *update* the promise object. see http://stackoverflow.com/a/11448290 and http://stackoverflow.com/a/12527892 for more details. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
