gcc/libstdc++-v3
Alexandre Oliva 0b2c1781db libstdc++: testsuite: tolerate non-cancelling sleep
Though sleep, nanosleep and clock_nanosleep are all POSIX cancellation
points, not all target systems follow this POSIX requirement.
30_threads/thread/native_handle/cancel.cc will run until it times out
on such systems.

Rather than failing a C++ library test because of a limitation of the
target system, this patch gives the test a chance to successfully
exercise the features it intends to exercise, by introducing a
cancellation point in a loop that would otherwise run indefinitely on
systems exhibiting this limitation.


for  libstdc++-v3/ChangeLog

	* testsuite/30_threads/thread/native_handle/cancel.cc: Add an
	explicit cancellation point in case sleep_for lacks one.
2022-06-23 23:25:52 -03:00
..
config libstdc++: Remove whitespace before preprocessor directives 2022-05-12 18:04:01 +01:00
doc libstdc++: Fix hyperlink in docs 2022-05-16 14:54:07 +01:00
include libstdc++: Support constexpr global std::string for size < 15 [PR105995] 2022-06-16 20:20:40 +01:00
libsupc++ libstdc++: eh_globals: gthreads: reset _S_init before deleting key 2022-06-21 23:11:02 -03:00
po libstdc++: Define <stacktrace> header for C++23 2022-01-17 12:13:02 +00:00
python libstdc++: Fix atomic and error_code printers for versioned namespace 2022-05-26 22:29:04 +01:00
scripts libstdc++: Only add valid -L paths to testsuite linker options 2022-01-20 12:29:29 +00:00
src libstdc++: Move std::iostream_category() definition to new file 2022-05-26 22:28:57 +01:00
testsuite libstdc++: testsuite: tolerate non-cancelling sleep 2022-06-23 23:25:52 -03:00
acinclude.m4 libstdc++: Fix syntax error in libbacktrace configuration 2022-04-19 11:58:30 +01:00
aclocal.m4
ChangeLog Daily bump. 2022-06-24 00:16:41 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020 libstdc++: Fix typo in ChangeLog-2020 2021-01-13 11:02:13 +00:00
ChangeLog-2021 Rotate ChangeLog files - part 1 - add ChangeLog-2021. 2022-01-03 10:18:16 +01:00
config.h.in libstdc++: Prefer to use mmap instead of malloc in libbacktrace 2022-04-12 22:38:31 +01:00
configure libstdc++: Fix syntax error in libbacktrace configuration 2022-04-19 11:58:30 +01:00
configure.ac libstdc++: Remove -gdwarf-4 from flags for debug library 2022-01-19 19:31:00 +00:00
configure.host
crossconfig.m4 libstdc++: Check for TLS support on mingw cross-compilers 2021-09-15 09:49:33 +01:00
fragment.am
linkage.m4
Makefile.am Update copyright years. 2022-01-03 10:42:10 +01:00
Makefile.in libstdc++: Define <stacktrace> header for C++23 2022-01-17 12:13:02 +00:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.