gcc/libstdc++-v3/testsuite/30_threads/timed_mutex
Jonathan Wakely 935bebb2ce
libstdc++: Add missing -pthread for new tests [PR122401]
These new multithreaded tests need -pthread for targets that don't
include all pthreads symbols in libc (including older Glibc in
particular).

The 30_threads/shared_timed_mutex/try_lock_until/116586.cc test is not
fixed by this commit, because it needs a different fix for older Glibc.

libstdc++-v3/ChangeLog:

	PR libstdc++/122401
	* testsuite/20_util/shared_ptr/atomic/pr118757.cc: Add -pthread
	for et pthread.
	* testsuite/20_util/weak_ptr/pr118757.cc: Likewise.
	* testsuite/30_threads/condition_variable/members/116586.cc:
	Likewise. Only run for hosted targets with gthreads support.
	* testsuite/30_threads/future/members/116586.cc: Likewise.
	* testsuite/30_threads/recursive_timed_mutex/try_lock_until/116586.cc:
	Likewise.
	* testsuite/30_threads/timed_mutex/try_lock_until/116586.cc:
	Likewise.
2025-10-27 18:24:20 +00:00
..
cons Update copyright years. 2025-01-02 11:59:57 +01:00
dest Update copyright years. 2025-01-02 11:59:57 +01:00
lock Update copyright years. 2025-01-02 11:59:57 +01:00
native_handle Update copyright years. 2025-01-02 11:59:57 +01:00
requirements Update copyright years. 2025-01-02 11:59:57 +01:00
try_lock Update copyright years. 2025-01-02 11:59:57 +01:00
try_lock_for Update copyright years. 2025-01-02 11:59:57 +01:00
try_lock_until libstdc++: Add missing -pthread for new tests [PR122401] 2025-10-27 18:24:20 +00:00
unlock Update copyright years. 2025-01-02 11:59:57 +01:00
121496.cc libstdc++: Check _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK with #if [PR121496] 2025-08-21 13:26:10 +01:00