aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/src/thread.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-08-11 17:34:16 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-09-19 09:37:31 -0700
commit5d4439cc3e9dc9196fc109552f36594ad97542c5 (patch)
treeb0ed2b36b213c5c47cd373327bb91cbf9e6d2205 /lib/libcxx/src/thread.cpp
parent9ddfacd8e62abd80b25619dd852ee811dad5f7b6 (diff)
downloadzig-5d4439cc3e9dc9196fc109552f36594ad97542c5.tar.gz
zig-5d4439cc3e9dc9196fc109552f36594ad97542c5.zip
libcxx: update to LLVM 17
release/17.x branch, commit 8f4dd44097c9ae25dd203d5ac87f3b48f854bba8 This adds the flag `-D_LIBCPP_PSTL_CPU_BACKEND_SERIAL`. A future enhancement could possibly pass something different if there is a compelling parallel implementation. That libdispatch one might be worth looking into.
Diffstat (limited to 'lib/libcxx/src/thread.cpp')
-rw-r--r--lib/libcxx/src/thread.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libcxx/src/thread.cpp b/lib/libcxx/src/thread.cpp
index ec4f65f982..184b5ae8a1 100644
--- a/lib/libcxx/src/thread.cpp
+++ b/lib/libcxx/src/thread.cpp
@@ -10,6 +10,8 @@
#ifndef _LIBCPP_HAS_NO_THREADS
+#include <__thread/poll_with_backoff.h>
+#include <__thread/timed_backoff_policy.h>
#include <exception>
#include <future>
#include <limits>