summaryrefslogtreecommitdiff
path: root/CMake
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 /CMake
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 'CMake')
-rw-r--r--CMake/AbseilDll.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMake/AbseilDll.cmake b/CMake/AbseilDll.cmake
index 3de1b235..2a331435 100644
--- a/CMake/AbseilDll.cmake
+++ b/CMake/AbseilDll.cmake
@@ -374,6 +374,8 @@ set(ABSL_INTERNAL_DLL_FILES
"synchronization/internal/pthread_waiter.cc"
"synchronization/internal/sem_waiter.h"
"synchronization/internal/sem_waiter.cc"
+ "synchronization/internal/stdcpp_waiter.h"
+ "synchronization/internal/stdcpp_waiter.cc"
"synchronization/internal/thread_pool.h"
"synchronization/internal/waiter.h"
"synchronization/internal/waiter_base.h"