[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`
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libcxx-commits