[libc-commits] [PATCH] D79828: [libc] Add implementation of call_once from threads.h.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed May 13 12:31:34 PDT 2020


sivachandra added a comment.

In D79828#2034708 <https://reviews.llvm.org/D79828#2034708>, @MaskRay wrote:

> This is incorrect.
>
> > Completion of an effective call to the call_once function synchronizes with all subsequent calls to the call_once function with the same value of flag.
>
> Before the completion, the subsequent call should wait.


Thanks for catching this. Will fix it soon.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79828/new/

https://reviews.llvm.org/D79828





More information about the libc-commits mailing list