diff options
author | Derek Mauro <dmauro@google.com> | 2023-02-09 19:45:05 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-02-09 19:45:48 -0800 |
commit | fa4855403cdfb91b9c16f792041258ed819594c1 (patch) | |
tree | 49546e9be6ce6fafbc78e4120b8ad51de386fdf3 /CMake/AbseilDll.cmake | |
parent | 823b837839db2a754af37095c72f97ce6733d32b (diff) |
Rewrite KernelTimeout to support both absolute and relative timeouts
APIs that take KernelTimeout as a parameter can now query if an
absolute or relative timeout was requested. If the underlying API can
only use one type of timeout, the code will do a reasonable
conversion.
The goal is to eventually enable the possibility of using wait times
that are based on monotonic clocks that are safe against system clock
steps.
PiperOrigin-RevId: 508541507
Change-Id: Id08bf13515f3e1bfd78d88393cde98a6fd3ef72c
Diffstat (limited to 'CMake/AbseilDll.cmake')
-rw-r--r-- | CMake/AbseilDll.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/AbseilDll.cmake b/CMake/AbseilDll.cmake index 52a563cd..3c0f6901 100644 --- a/CMake/AbseilDll.cmake +++ b/CMake/AbseilDll.cmake @@ -365,6 +365,7 @@ set(ABSL_INTERNAL_DLL_FILES "synchronization/internal/graphcycles.cc" "synchronization/internal/graphcycles.h" "synchronization/internal/kernel_timeout.h" + "synchronization/internal/kernel_timeout.cc" "synchronization/internal/per_thread_sem.cc" "synchronization/internal/per_thread_sem.h" "synchronization/internal/thread_pool.h" |