[all-commits] [llvm/llvm-project] e3add3: [libcxx] Fix building for windows after 54fa9ecd30...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Tue Feb 25 11:34:01 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e3add3e5a192ec7f73922a4278f52d335d1f9be5
https://github.com/llvm/llvm-project/commit/e3add3e5a192ec7f73922a4278f52d335d1f9be5
Author: Martin Storsjö <martin at martin.st>
Date: 2020-02-25 (Tue, 25 Feb 2020)
Changed paths:
M libcxx/include/__threading_support
Log Message:
-----------
[libcxx] Fix building for windows after 54fa9ecd3088508
Move the implementation of __libcpp_thread_poll_with_backoff
and __libcpp_timed_backoff_policy::operator() out of the
_LIBCPP_HAS_THREAD_API_PTHREAD block. None of the code in these
methods is pthreads specific.
Also add "inline _LIBCPP_INLINE_VISIBILITY" to
__libcpp_timed_backoff_policy::operator(), to avoid errors due to
multiple definitions of the operator. Contrary to
__libcpp_thread_poll_with_backoff (which is a template function),
this is a normal non-templated method.
Differential Revision: https://reviews.llvm.org/D75102
More information about the All-commits
mailing list