diff options
| author | Jonathan Wakely <jwakely@redhat.com> | 2015-03-26 19:59:08 +0000 |
|---|---|---|
| committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-03-26 19:59:08 +0000 |
| commit | d1a74a287ee1a84b90e5675904dac7f945cffca1 (patch) | |
| tree | 4b13770b22c24a7b55883559fe1eea9898165a50 /libjava/java/security/AccessController.h | |
| parent | 1f4eb0e985e71a20e5778963cf98e591054dd51b (diff) | |
| download | gcc-d1a74a287ee1a84b90e5675904dac7f945cffca1.zip gcc-d1a74a287ee1a84b90e5675904dac7f945cffca1.tar.gz gcc-d1a74a287ee1a84b90e5675904dac7f945cffca1.tar.bz2 | |
re PR libstdc++/58038 (std::this_thread::sleep_until can cause inifinite sleep)
PR libstdc++/58038
PR libstdc++/60421
* include/std/thread (this_thread::sleep_for): Check for negative
durations.
(this_thread::sleep_until): Check for times in the past.
* testsuite/30_threads/this_thread/58038.cc: New.
* testsuite/30_threads/this_thread/60421.cc: New.
From-SVN: r221708
Diffstat (limited to 'libjava/java/security/AccessController.h')
0 files changed, 0 insertions, 0 deletions
