r230183 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Nov 11 17:08:00 GMT 2015


Author: redi
Date: Wed Nov 11 17:08:51 2015
New Revision: 230183

URL: https://gcc.gnu.org/viewcvs?rev=230183&root=gcc&view=rev
Log:
Loop in std::this_thread sleep functions

	PR libstdc++/60421
	* include/std/thread (this_thread::sleep_for): Retry on EINTR.
	(this_thread::sleep_until): Retry if time not reached.
	* src/c++11/thread.cc (__sleep_for): Retry on EINTR.
	* testsuite/30_threads/this_thread/60421.cc: Test interruption and
	non-steady clocks.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/thread
    trunk/libstdc++-v3/src/c++11/thread.cc
    trunk/libstdc++-v3/testsuite/30_threads/this_thread/60421.cc



More information about the Gcc-cvs mailing list