1. 16 Feb, 2023 2 commits
    • Add KernelTimeout methods that convert the timeout to the · 0372af19
      std::chrono methods used by std::condition_variable.
      
      A followup change will add an implemention of
      synchronization_internal::Waiter that can use
      std:mutex/std::condition_variable to implement the per-thread
      semaphore that absl::Mutex waits on. This implementation may at some
      point become the default on platforms such as Windows where there
      doesn't seem to be an easy way of supporting real absolute timeouts. In
      this case we can defer to their standard library to implement correct
      support.
      PiperOrigin-RevId: 510204786
      Change-Id: Icf4d695013fd060abbd53dae23e71ea36f731565
      Derek Mauro committed
    • std::shared_ptr<T>::unique() is deprecated in C++17 and removed in C++20. · 2d4c6872
      Change to checking for use_count() >/== 1.
      
      PiperOrigin-RevId: 510125744
      Change-Id: I572cca18c3f827f5d3eefb2ec19a1a014c0090ae
      Abseil Team committed
  2. 15 Feb, 2023 1 commit
  3. 14 Feb, 2023 4 commits
  4. 13 Feb, 2023 3 commits
  5. 10 Feb, 2023 2 commits
    • Workaround MSan false positive. · cde2f0ea
      On Linux Kernels >= 5.4 MSan reports a false positive when accessing thread local storage data from loaded libraries.
      
      This was reported on Chromium (which on some build configurations uses absl as a dynamic library). More info here: crbug.com/1414573.
      
      PiperOrigin-RevId: 508645053
      Change-Id: I5d5a97e1ee7230cc23f3934a4ec5594b883918b4
      Abseil Team committed
    • Rewrite KernelTimeout to support both absolute and relative timeouts · fa485540
      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
      Derek Mauro committed
  6. 09 Feb, 2023 1 commit
  7. 08 Feb, 2023 2 commits
  8. 07 Feb, 2023 1 commit
  9. 06 Feb, 2023 2 commits
  10. 04 Feb, 2023 1 commit
  11. 03 Feb, 2023 1 commit
  12. 02 Feb, 2023 3 commits
  13. 01 Feb, 2023 3 commits
  14. 31 Jan, 2023 1 commit
  15. 30 Jan, 2023 1 commit
  16. 28 Jan, 2023 1 commit
  17. 27 Jan, 2023 3 commits
  18. 26 Jan, 2023 4 commits
  19. 25 Jan, 2023 4 commits