From 46e113bf2b767b2f2d488c68b18416bd5672ae21 Mon Sep 17 00:00:00 2001 From: Chris Fairles Date: Sat, 13 Sep 2008 00:32:37 +0000 Subject: thread: New. 2008-09-12 Chris Fairles Benjamin Kosnik * include/std/thread: New. * include/Makefile.am: Update. * include/Makefile.in: Regenerate. * src/thread.cc: New. * src/Makefile.am: Update. * src/Makefile.in: Regenerate. * acinclude.m4: Add check for nanosleep. * configure.ac: Call it. * configure: Regenerate. * config.h.in: Likewise. * config/abi/pre/gnu.ver: Add exports. * doc/doxygen/user.cfg.in: Add thread header. * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Add. * testsuite/lib/dg-options.exp (dg-require-nanosleep): Add. * testsuite/30_threads/thread/cons/1.cc: New. * testsuite/30_threads/thread/cons/2.cc: Likewise. * testsuite/30_threads/thread/cons/3.cc: Likewise. * testsuite/30_threads/thread/cons/4.cc: Likewise. * testsuite/30_threads/thread/algorithm/1.cc: Likewise. * testsuite/30_threads/thread/algorithm/2.cc: Likewise. * testsuite/30_threads/thread/member/1.cc: Likewise. * testsuite/30_threads/thread/member/2.cc: Likewise. * testsuite/30_threads/thread/member/3.cc: Likewise. * testsuite/30_threads/thread/this_thread/1.cc: Likewise. * testsuite/30_threads/thread/this_thread/2.cc: Likewise. * testsuite/30_threads/thread/this_thread/3.cc: Likewise. * testsuite/30_threads/thread/this_thread/4.cc: Likewise. * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise. * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise. * testsuite/17_intro/headers/c++200x/all.cc: Add thread. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add thread, condition_variable and mutex. Co-Authored-By: Benjamin Kosnik From-SVN: r140332 --- libstdc++-v3/config/abi/pre/gnu.ver | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'libstdc++-v3/config') diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index a3529ba..df69c87 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -128,7 +128,11 @@ GLIBCXX_3.4 { std::strstream*; std::strstreambuf*; # std::t[a-q]*; - std::t[a-n]*; + std::t[a-g]*; + std::th[a-h]*; + std::th[j-q]*; + std::th[s-z]*; + std::t[i-n]*; std::tr1::h[^a]*; std::t[s-z]*; # std::[A-Zu-z]*; @@ -900,6 +904,23 @@ GLIBCXX_3.4.11 { _ZNSt22condition_variable_anyD1Ev; _ZNSt22condition_variable_anyD2Ev; + # thread + _ZNKSt6thread6get_idEv; + _ZNKSt6thread8joinableEv; + _ZNSt10shared_ptrISt18__thread_data_baseED1Ev; + _ZNSt11this_thread5yieldEv; + _ZNSt11this_thread6get_idEv; + _ZNSt12bad_weak_ptrD0Ev; + _ZNSt12bad_weak_ptrD1Ev; + _ZNSt6thread14__start_threadEv; + _ZNSt6thread4joinEv; + _ZNSt6thread4swapEOS_; + _ZNSt6thread6detachEv; + _ZNSt6threadC1Ev; + _ZNSt6threadC2Ev; + _ZNSt6threadD1Ev; + _ZNSt6threadD2Ev; + # system_error _ZSt18get_posix_categoryv; _ZSt19get_system_categoryv; -- cgit v1.1