[libcxx-commits] [PATCH] D93542: [SystemZ][ZOS] Provide CLOCK_MONOTONIC alternative

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 13 08:31:53 PST 2021


ldionne added a comment.

In D93542#2495987 <https://reviews.llvm.org/D93542#2495987>, @ldionne wrote:

> Unless I'm heavily mistaken, `gettimeofday()` isn't monotonic. It's not a good idea to implement a feature in a way that we know to be broken from the start.
>
> I think it would be best for z/OS to provide a monotonic clock, or for libc++ on z/OS to acknowledge the lack of such support and use `_LIBCPP_HAS_NO_THREADS`.

In other words, I'm echoing Marshall's comment and saying that this won't make progress unless we have a non-broken monotonic clock.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93542/new/

https://reviews.llvm.org/D93542



More information about the libcxx-commits mailing list