summaryrefslogtreecommitdiff
path: root/absl/synchronization/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2023-03-21 07:30:38 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-03-21 07:31:48 -0700
commit276f88cb77dd543ae9cc4ed55c08fb5f74f405ea (patch)
treefdf03e39bcee86795f8f2515f806dcf836158bcd /absl/synchronization/CMakeLists.txt
parent819272485a0c06abc8d7d62b188a6f54174881cb (diff)
Add an implementation of Waiter that uses std::mutex/std::condition_variable
This implementation may at some point become the default on some platforms. Currently not all platforms have widespread support for both real absolute timeouts or real relative timeouts (here "real" means without converting to the other timeout type which is the only one supported by the underlying APIs). In this case we can defer to their standard library to implement correct support. This is not currently the default on any platform Note: The size of WaiterState had to increase to fit the new implementation PiperOrigin-RevId: 518266646 Change-Id: I7f246646a960d6e1b155f9de0bf2f681c5d3d245
Diffstat (limited to 'absl/synchronization/CMakeLists.txt')
-rw-r--r--absl/synchronization/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/synchronization/CMakeLists.txt b/absl/synchronization/CMakeLists.txt
index d95e327f..9926fb72 100644
--- a/absl/synchronization/CMakeLists.txt
+++ b/absl/synchronization/CMakeLists.txt
@@ -75,6 +75,7 @@ absl_cc_library(
"internal/per_thread_sem.h"
"internal/pthread_waiter.h"
"internal/sem_waiter.h"
+ "internal/stdcpp_waiter.h"
"internal/waiter.h"
"internal/waiter_base.h"
"internal/win32_waiter.h"
@@ -88,6 +89,7 @@ absl_cc_library(
"internal/per_thread_sem.cc"
"internal/pthread_waiter.cc"
"internal/sem_waiter.cc"
+ "internal/stdcpp_waiter.cc"
"internal/waiter_base.cc"
"internal/win32_waiter.cc"
"notification.cc"