From d5be2d8e8a35f4328f58d80debab5889dd68e32f Mon Sep 17 00:00:00 2001 From: paolo Date: Sat, 13 Sep 2008 00:32:37 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140332 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libstdc++-v3/configure.ac') diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index ff388ab50c4..dca19cc42b0 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -153,6 +153,9 @@ GLIBCXX_ENABLE_CLOCK_GETTIME([no]) # For gthread support GLIBCXX_CHECK_GTHREADS +# For nanosleep support +GLIBCXX_CHECK_NANOSLEEP + AC_LC_MESSAGES # Check for available headers. -- cgit v1.2.1