[libcxx-commits] [PATCH] D93542: [SystemZ][ZOS] Provide CLOCK_MONOTONIC alternative
Marshall Clow via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Dec 18 07:38:28 PST 2020
mclow.lists added a comment.
Starting in C++11, the standard library requires a monotonic clock.
There was a discussion about this at the time in the standards committee, with the question asked:
"You realize that you're requiring systems to have a monotonic clock, right"?
and it was answered: "Yes, we realize that and we're fine with that"
That being said, Libc++ has a mode which does not require a monotonic clock.
The configuration is guarded by `_LIBCPP_HAS_NO_THREADS`
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