gcc/libstdc++-v3/include
Jonathan Wakely 62d19588b9 libstdc++: Fix atomic waiting for non-linux targets
This fixes some UNRESOLVED tests on (at least) Solaris and Darwin, and
disables some tests that hang forever on Solaris. A proper fix is still
needed.

libstdc++-v3/ChangeLog:

	* include/bits/atomic_base.h (atomic_flag::wait): Use correct
	type for __atomic_wait call.
	* include/bits/atomic_timed_wait.h (__atomic_wait_until): Check
	_GLIBCXX_HAVE_LINUX_FUTEX.
	* include/bits/atomic_wait.h (__atomic_notify): Likewise.
	* include/bits/semaphore_base.h (_GLIBCXX_HAVE_POSIX_SEMAPHORE):
	Only define if SEM_VALUE_MAX or _POSIX_SEM_VALUE_MAX is defined.
	* testsuite/29_atomics/atomic/wait_notify/bool.cc: Disable on
	non-linux targes.
	* testsuite/29_atomics/atomic/wait_notify/generic.cc: Likewise.
	* testsuite/29_atomics/atomic/wait_notify/pointers.cc: Likewise.
	* testsuite/29_atomics/atomic_flag/wait_notify/1.cc: Likewise.
	* testsuite/29_atomics/atomic_float/wait_notify.cc: Likewise.
2020-11-21 17:50:13 +00:00
..
backward
bits libstdc++: Fix atomic waiting for non-linux targets 2020-11-21 17:50:13 +00:00
c
c_compatibility
c_global
c_std
debug libstdc++: Remove <debug/array> 2020-11-09 21:20:01 +01:00
decimal
experimental libstdc++: Remove <debug/array> 2020-11-09 21:20:01 +01:00
ext libstdc++: Simplify __numeric_traits definition 2020-11-12 14:36:39 +00:00
parallel
precompiled libstdc++: Fix unconditional definition of __cpp_lib_span in <version> [PR 97869} 2020-11-17 16:13:14 +00:00
pstl
std libstdc++: Add C++2a synchronization support 2020-11-20 14:40:18 -08:00
tr1
tr2
Makefile.am libstdc++: Add C++2a synchronization support 2020-11-20 14:40:18 -08:00
Makefile.in libstdc++: Add C++2a synchronization support 2020-11-20 14:40:18 -08:00