diff options
author | Chris Fairles <cfairles@gcc.gnu.org> | 2008-09-23 17:34:29 +0000 |
---|---|---|
committer | Chris Fairles <cfairles@gcc.gnu.org> | 2008-09-23 17:34:29 +0000 |
commit | 8839907955ae3ad3240fc48dd082f5758e8dfa41 (patch) | |
tree | 35b70f711f4bbfa92cadbd4c246de21481316e41 /gcc/tree-ssa-loop-niter.c | |
parent | 1304d5813db7e623b4e64757bf95dc919d36c891 (diff) | |
download | gcc-8839907955ae3ad3240fc48dd082f5758e8dfa41.zip gcc-8839907955ae3ad3240fc48dd082f5758e8dfa41.tar.gz gcc-8839907955ae3ad3240fc48dd082f5758e8dfa41.tar.bz2 |
chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined...
2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
* include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
typedef monotonic_clock to system_clock and instead declare new class.
* src/chrono.cc: Conditionally define monotonic_clock::now().
* include/std/condition_variable (wait_until): Throw exception if
__gthread_cond_timedwait returns with error other than timed_out. Use
system_clock as known clock type (__clock_t) and add overloads for known
and unknown clocks. In the unknown case, sync to the known clock.
Implement overload taking a predicate.
(wait_for): Implement overload taking a predicate.
* config/abi/pre/gnu.ver: Add exports for monotonic_clock.
* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Modify
line numbers.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
Likewise.
* testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/condition_variable/member/1.cc: New.
* testsuite/30_threads/condition_variable/member/2.cc: Likewise.
From-SVN: r140603
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
0 files changed, 0 insertions, 0 deletions