8sa1-gcc/libstdc++-v3/include
Jonathan Wakely cc9a0a3d79 libstdc++: Fix __thread_yield for non-gthreads targets
The __gthread_yield() function is only defined for gthreads targets, so
check _GLIBCXX_HAS_GTHREADS before using it.

Also reorder __thread_relax and __thread_yield so that the former can
use the latter instead of repeating the same preprocessor checks.

libstdc++-v3/ChangeLog:

	* include/bits/atomic_wait.h (__thread_yield()): Check
	_GLIBCXX_HAS_GTHREADS before using __gthread_yield.
	(__thread_relax()): Use __thread_yield() instead of repeating
	the preprocessor checks for __gthread_yield.
2021-02-15 15:52:25 +00:00
..
backward Update copyright years. 2021-01-04 10:26:59 +01:00
bits libstdc++: Fix __thread_yield for non-gthreads targets 2021-02-15 15:52:25 +00:00
c Update copyright years. 2021-01-04 10:26:59 +01:00
c_compatibility Update copyright years. 2021-01-04 10:26:59 +01:00
c_global Update copyright years. 2021-01-04 10:26:59 +01:00
c_std Update copyright years. 2021-01-04 10:26:59 +01:00
debug libstdc++: Add unordered containers heterogeneous lookup 2021-02-09 21:56:27 +01:00
decimal Update copyright years. 2021-01-04 10:26:59 +01:00
experimental libstdc++: Include scope ID in net::internet::address_v6::to_string() 2021-02-12 15:08:29 +00:00
ext libstdc++: Fix build failure for targets without unistd.h 2021-02-09 12:31:52 +00:00
parallel Update copyright years. 2021-01-04 10:26:59 +01:00
precompiled libstdc++: Add support for C++20 barriers 2021-01-07 12:52:37 -08:00
pstl
std libstdc++: Add missing return and use reserved name 2021-02-15 15:52:25 +00:00
tr1 Update copyright years. 2021-01-04 10:26:59 +01:00
tr2 Update copyright years. 2021-01-04 10:26:59 +01:00
Makefile.am libstdc++: Add std::experimental::simd from the Parallelism TS 2 2021-01-27 16:37:26 +00:00
Makefile.in libstdc++: Add std::experimental::simd from the Parallelism TS 2 2021-01-27 16:37:26 +00:00