[all-commits] [llvm/llvm-project] ab9aef: [libcxx] Use C11 thread API on Fuchsia
Petr Hosek via All-commits
all-commits at lists.llvm.org
Tue Jan 14 16:48:31 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ab9aefee9fa09957d1a3e76fcc47abda0d002255
https://github.com/llvm/llvm-project/commit/ab9aefee9fa09957d1a3e76fcc47abda0d002255
Author: Petr Hosek <phosek at google.com>
Date: 2020-01-14 (Tue, 14 Jan 2020)
Changed paths:
M libcxx/include/__config
M libcxx/include/__threading_support
Log Message:
-----------
[libcxx] Use C11 thread API on Fuchsia
On Fuchsia, pthread API is emulated on top of C11 thread API. Using C11
thread API directly is more efficient.
While this implementation is only used by Fuchsia at the moment, it's
not Fuchsia specific, and could be used by other platforms that use C11
threads rather than pthreads in the future.
Differential Revision: https://reviews.llvm.org/D64378
More information about the All-commits
mailing list