diff options
author | Martin Storsjö <martin@martin.st> | 2020-02-25 09:36:24 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-02-25 21:33:52 +0200 |
commit | e3add3e5a192ec7f73922a4278f52d335d1f9be5 (patch) | |
tree | ec38ed48d8aee6b1b535825a49032fa00313ad21 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | 922558be9ecb24f51fbe879bf6e55d6aad9f4619 (diff) | |
download | llvm-e3add3e5a192ec7f73922a4278f52d335d1f9be5.zip llvm-e3add3e5a192ec7f73922a4278f52d335d1f9be5.tar.gz llvm-e3add3e5a192ec7f73922a4278f52d335d1f9be5.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions