[patch] libstdc++/60421 (again) Loop in std::this_thread sleep functions
Jonathan Wakely
jwakely@redhat.com
Wed Nov 11 17:09:00 GMT 2015
This fixes part of PR 60421 by looping in this_thread::sleep_for when
it is interrupted by a signal, and looping in this_thread::sleep_until
to handle clock adjustments.
There are still problems with integer overflow/wrapping in sleep_for,
which still need to be addressed somehow. Maybe using the new
overflow-checking built-ins.
Tested powerpc64le-linux, committed to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 4846 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20151111/efe41872/attachment.bin>
More information about the Libstdc++
mailing list