aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/17_intro
diff options
context:
space:
mode:
authorChris Fairles <chris.fairles@gmail.com>2008-09-13 00:32:37 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2008-09-13 00:32:37 +0000
commit46e113bf2b767b2f2d488c68b18416bd5672ae21 (patch)
treef1b80ccc46845ad9f382edf7149e9088a80f68c5 /libstdc++-v3/testsuite/17_intro
parent8270e80020ae8387c24f212c29d5306c38569984 (diff)
downloadgcc-46e113bf2b767b2f2d488c68b18416bd5672ae21.zip
gcc-46e113bf2b767b2f2d488c68b18416bd5672ae21.tar.gz
gcc-46e113bf2b767b2f2d488c68b18416bd5672ae21.tar.bz2
thread: New.
2008-09-12 Chris Fairles <chris.fairles@gmail.com> Benjamin Kosnik <bkoz@redhat.com> * 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 <bkoz@redhat.com> From-SVN: r140332
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro')
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc3
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc5
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc
index 4c2e31b..9a4ff72 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc
@@ -96,8 +96,8 @@
#include <array>
#include <bitset>
#include <chrono>
-#include <condition_variable>
#include <complex>
+#include <condition_variable>
#include <deque>
#include <exception>
#include <fstream>
@@ -128,6 +128,7 @@
#include <streambuf>
#include <string>
#include <system_error>
+#include <thread>
#include <tuple>
#include <typeinfo>
#include <type_traits>
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc
index f88edc8..7402cf7 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc
@@ -95,6 +95,7 @@
#include <bitset>
#include <chrono>
#include <complex>
+#include <condition_variable>
#include <deque>
#include <exception>
#include <fstream>
@@ -110,6 +111,7 @@
#include <locale>
#include <map>
#include <memory>
+#include <mutex>
#include <new>
#include <numeric>
#include <ostream>
@@ -123,6 +125,7 @@
#include <stdexcept>
#include <streambuf>
#include <string>
+#include <thread>
#include <tuple>
#include <typeinfo>
#include <type_traits>
@@ -207,6 +210,7 @@
#include <bitset>
#include <chrono>
#include <complex>
+#include <condition_variable>
#include <deque>
#include <exception>
#include <fstream>
@@ -236,6 +240,7 @@
#include <stdexcept>
#include <streambuf>
#include <string>
+#include <thread>
#include <tuple>
#include <typeinfo>
#include <type_traits>