gcc/libstdc++-v3/include/bits
Alexandre Oliva 21edd84161 link pthread_join from std::thread ctor
Like pthread_create, pthread_join may fail to be statically linked in
absent strong uses, so add to user code strong references to both when
std::thread objects are created.


for  libstdc++-v3/ChangeLog

	PR libstdc++/104852
	PR libstdc++/95989
	PR libstdc++/52590
	* include/bits/std_thread.h (thread::_M_thread_deps): New
	static implicitly-inline member function.
	(std::thread template ctor): Pass it to _M_start_thread.
	* src/c++11/thread.cc (thread::_M_start_thread): Name depend
	parameter, force it live on entry.
2023-03-03 16:06:44 -03:00
..
algorithmfwd.h Update copyright years. 2023-01-16 11:52:17 +01:00
align.h Update copyright years. 2023-01-16 11:52:17 +01:00
alloc_traits.h Update copyright years. 2023-01-16 11:52:17 +01:00
allocated_ptr.h Update copyright years. 2023-01-16 11:52:17 +01:00
allocator.h Update copyright years. 2023-01-16 11:52:17 +01:00
atomic_base.h Update copyright years. 2023-01-16 11:52:17 +01:00
atomic_futex.h Update copyright years. 2023-01-16 11:52:17 +01:00
atomic_timed_wait.h Update copyright years. 2023-01-16 11:52:17 +01:00
atomic_wait.h Update copyright years. 2023-01-16 11:52:17 +01:00
basic_ios.h libstdc++: Add Doxygen comment for string::resize_and_overwite 2023-02-27 13:42:21 +00:00
basic_ios.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
basic_string.h libstdc++: Add Doxygen comment for string::resize_and_overwite 2023-02-27 13:42:21 +00:00
basic_string.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
boost_concept_check.h Update copyright years. 2023-01-16 11:52:17 +01:00
c++0x_warning.h Update copyright years. 2023-01-16 11:52:17 +01:00
c++config libstdc++: Implement P1413R3 'deprecate aligned_storage and aligned_union' 2023-02-06 14:23:47 +00:00
char_traits.h Update copyright years. 2023-01-16 11:52:17 +01:00
charconv.h Update copyright years. 2023-01-16 11:52:17 +01:00
chrono.h Update copyright years. 2023-01-16 11:52:17 +01:00
chrono_io.h libstdc++: Fix ostream insertion operators for calendar types 2023-01-14 16:59:58 +00:00
codecvt.h Update copyright years. 2023-01-16 11:52:17 +01:00
concept_check.h Update copyright years. 2023-01-16 11:52:17 +01:00
cow_string.h libstdc++: Fix typo in comment in bits/cow_string.h 2023-03-01 21:26:08 +00:00
cpp_type_traits.h Update copyright years. 2023-01-16 11:52:17 +01:00
deque.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
enable_special_members.h Update copyright years. 2023-01-16 11:52:17 +01:00
erase_if.h Update copyright years. 2023-01-16 11:52:17 +01:00
forward_list.h Update copyright years. 2023-01-16 11:52:17 +01:00
forward_list.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
fs_dir.h Update copyright years. 2023-01-16 11:52:17 +01:00
fs_fwd.h Update copyright years. 2023-01-16 11:52:17 +01:00
fs_ops.h libstdc++: Fix uses of non-reserved names in headers 2023-02-16 10:24:45 +00:00
fs_path.h libstdc++: Fix std::filesystem errors with -fkeep-inline-functions [PR108636] 2023-02-02 16:18:37 +00:00
fstream.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
functexcept.h Update copyright years. 2023-01-16 11:52:17 +01:00
functional_hash.h Update copyright years. 2023-01-16 11:52:17 +01:00
gslice.h Update copyright years. 2023-01-16 11:52:17 +01:00
gslice_array.h Update copyright years. 2023-01-16 11:52:17 +01:00
hashtable.h Update copyright years. 2023-01-16 11:52:17 +01:00
hashtable_policy.h Update copyright years. 2023-01-16 11:52:17 +01:00
indirect_array.h Update copyright years. 2023-01-16 11:52:17 +01:00
invoke.h Update copyright years. 2023-01-16 11:52:17 +01:00
ios_base.h Update copyright years. 2023-01-16 11:52:17 +01:00
istream.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
iterator_concepts.h Update copyright years. 2023-01-16 11:52:17 +01:00
list.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
locale_classes.h Update copyright years. 2023-01-16 11:52:17 +01:00
locale_classes.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
locale_conv.h Update copyright years. 2023-01-16 11:52:17 +01:00
locale_facets.h Update copyright years. 2023-01-16 11:52:17 +01:00
locale_facets.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
locale_facets_nonio.h Update copyright years. 2023-01-16 11:52:17 +01:00
locale_facets_nonio.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
localefwd.h Update copyright years. 2023-01-16 11:52:17 +01:00
mask_array.h Update copyright years. 2023-01-16 11:52:17 +01:00
max_size_type.h Update copyright years. 2023-01-16 11:52:17 +01:00
memory_resource.h Update copyright years. 2023-01-16 11:52:17 +01:00
memoryfwd.h Update copyright years. 2023-01-16 11:52:17 +01:00
mofunc_impl.h libstdc++: Fix std::move_only_function for incomplete parameter types 2022-10-21 10:40:40 +01:00
move.h Update copyright years. 2023-01-16 11:52:17 +01:00
move_only_function.h libstdc++: Make std::move_only_function never valueless in std::variant 2022-06-27 11:08:16 +01:00
new_allocator.h Update copyright years. 2023-01-16 11:52:17 +01:00
node_handle.h Update copyright years. 2023-01-16 11:52:17 +01:00
ostream.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
ostream_insert.h Update copyright years. 2023-01-16 11:52:17 +01:00
parse_numbers.h Update copyright years. 2023-01-16 11:52:17 +01:00
postypes.h Update copyright years. 2023-01-16 11:52:17 +01:00
predefined_ops.h Update copyright years. 2023-01-16 11:52:17 +01:00
ptr_traits.h Update copyright years. 2023-01-16 11:52:17 +01:00
quoted_string.h Update copyright years. 2023-01-16 11:52:17 +01:00
random.h libstdc++: Fix std::random_device::entropy() for non-posix targets 2023-01-18 21:47:58 +00:00
random.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
range_access.h Update copyright years. 2023-01-16 11:52:17 +01:00
ranges_algo.h libstdc++: Fix uses of non-reserved names in headers 2023-02-16 10:24:45 +00:00
ranges_algobase.h Update copyright years. 2023-01-16 11:52:17 +01:00
ranges_base.h libstdc++: Include std::ranges::subrange definition in <tuple> [PR102301] 2023-01-24 23:46:42 +00:00
ranges_cmp.h Update copyright years. 2023-01-16 11:52:17 +01:00
ranges_uninitialized.h Update copyright years. 2023-01-16 11:52:17 +01:00
ranges_util.h Update copyright years. 2023-01-16 11:52:17 +01:00
refwrap.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
regex_automaton.h libstdc++: Fix uses of non-reserved names in headers 2023-02-16 10:24:45 +00:00
regex_automaton.tcc libstdc++: Fix uses of non-reserved names in headers 2023-02-16 10:24:45 +00:00
regex_compiler.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex_compiler.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
regex_constants.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex_error.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex_executor.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex_executor.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
regex_scanner.h Update copyright years. 2023-01-16 11:52:17 +01:00
regex_scanner.tcc libstdc++: Fix uses of non-reserved names in headers 2023-02-16 10:24:45 +00:00
requires_hosted.h libstdc++: Mark headers that must be hosted as such [PR103626] 2022-10-03 15:43:48 +01:00
semaphore_base.h Update copyright years. 2023-01-16 11:52:17 +01:00
shared_ptr.h Update copyright years. 2023-01-16 11:52:17 +01:00
shared_ptr_atomic.h Update copyright years. 2023-01-16 11:52:17 +01:00
shared_ptr_base.h Update copyright years. 2023-01-16 11:52:17 +01:00
slice_array.h Update copyright years. 2023-01-16 11:52:17 +01:00
specfun.h Update copyright years. 2023-01-16 11:52:17 +01:00
sstream.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
std_abs.h Update copyright years. 2023-01-16 11:52:17 +01:00
std_function.h Update copyright years. 2023-01-16 11:52:17 +01:00
std_mutex.h Update copyright years. 2023-01-16 11:52:17 +01:00
std_thread.h link pthread_join from std::thread ctor 2023-03-03 16:06:44 -03:00
stl_algo.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_algobase.h libstdc++: Do not use memmove for 1-element ranges [PR108846] 2023-02-28 09:49:11 +00:00
stl_bvector.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_construct.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_deque.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_function.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_heap.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_iterator.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_iterator_base_funcs.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_iterator_base_types.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_list.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_map.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_multimap.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_multiset.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_numeric.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_pair.h libstdc++: Implement P2255R2 dangling checks for std::pair 2023-02-16 14:38:38 +00:00
stl_queue.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_raw_storage_iter.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_relops.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_set.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_stack.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_tempbuf.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_tree.h libstdc++: Add returns_nonnull to non-inline std::map detail [PR108554] 2023-01-26 13:38:22 +00:00
stl_uninitialized.h Update copyright years. 2023-01-16 11:52:17 +01:00
stl_vector.h Update copyright years. 2023-01-16 11:52:17 +01:00
stream_iterator.h Update copyright years. 2023-01-16 11:52:17 +01:00
streambuf.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
streambuf_iterator.h Update copyright years. 2023-01-16 11:52:17 +01:00
string_view.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
stringfwd.h Update copyright years. 2023-01-16 11:52:17 +01:00
this_thread_sleep.h Update copyright years. 2023-01-16 11:52:17 +01:00
uniform_int_dist.h Update copyright years. 2023-01-16 11:52:17 +01:00
unique_lock.h Update copyright years. 2023-01-16 11:52:17 +01:00
unique_ptr.h Update copyright years. 2023-01-16 11:52:17 +01:00
unordered_map.h Update copyright years. 2023-01-16 11:52:17 +01:00
unordered_set.h Update copyright years. 2023-01-16 11:52:17 +01:00
uses_allocator.h Update copyright years. 2023-01-16 11:52:17 +01:00
uses_allocator_args.h libstdc++: Fix uses_allocator_construction_args for pair<T&&, U&&> [PR108952] 2023-02-28 09:49:11 +00:00
utility.h Update copyright years. 2023-01-16 11:52:17 +01:00
valarray_after.h Update copyright years. 2023-01-16 11:52:17 +01:00
valarray_array.h Update copyright years. 2023-01-16 11:52:17 +01:00
valarray_array.tcc Update copyright years. 2023-01-16 11:52:17 +01:00
valarray_before.h Update copyright years. 2023-01-16 11:52:17 +01:00
vector.tcc Update copyright years. 2023-01-16 11:52:17 +01:00