search for: b50e927c

Displaying 2 results from an estimated 2 matches for "b50e927c".

2016 Dec 26
2
A potential race on StaticList in RegisterManagedStatic
Ptr member of ManagedStaticBase is now atomic. In ManagedStaticBase::RegisterManagedStatic we have such code: void *Tmp = Creator(); Ptr.store(Tmp, std::memory_order_release); DeleterFn = Deleter; // Add to list of managed statics. Next = StaticList; StaticList = this; StaticList is not atomic and not guarded by any fence. The same applies to the members
2016 Dec 26
0
A potential race on StaticList in RegisterManagedStatic
...// Add to list of managed statics. > Next = StaticList; > StaticList = this; > Ptr.store(Tmp, std::memory_order_release); > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161226/b50e927c/attachment.html>