[all-commits] [llvm/llvm-project] 42d653: [libcxx] Simplify rounding of durations in win32 _...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Mar 17 01:12:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42d653d294a85ad3a5df1ba0827aeb1ecd99ebe3
      https://github.com/llvm/llvm-project/commit/42d653d294a85ad3a5df1ba0827aeb1ecd99ebe3
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-03-17 (Wed, 17 Mar 2021)

  Changed paths:
    M libcxx/src/support/win32/thread_win32.cpp

  Log Message:
  -----------
  [libcxx] Simplify rounding of durations in win32 __libcpp_thread_sleep_for

Also fix a comment typo, and remove a superfluous "std::" qualififcation
in __libcpp_semaphore_wait_timed for consistency.

This mirrors what was suggested in review of
1773eec6928f4e37b377e23b84d7a2a07d0d1d0d.

Differential Revision: https://reviews.llvm.org/D98015




More information about the All-commits mailing list