[all-commits] [llvm/llvm-project] e7a7a1: [libc++] Fix __threading_support when used with C1...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Tue Sep 19 15:15:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e7a7a1690139e1959ee70a45150ea62620d54e9c
https://github.com/llvm/llvm-project/commit/e7a7a1690139e1959ee70a45150ea62620d54e9c
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M libcxx/include/__threading_support
Log Message:
-----------
[libc++] Fix __threading_support when used with C11 threading (#66780)
Since we are defining these typedefs inside namespace std, we need to
refer to ::once_flag (the C Standard Library version). Otherwise
'once_flag' refers to 'std::once_flag', and that's not something we can
pass to the C Standard Library '::call_once()' function later on.
More information about the All-commits
mailing list