This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/56002] [C++11] allow generic locks to be used without requiring plattform support for threads
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 16 Mar 2013 20:22:40 +0000
- Subject: [Bug libstdc++/56002] [C++11] allow generic locks to be used without requiring plattform support for threads
- Auto-submitted: auto-generated
- References: <bug-56002-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56002
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-16 20:22:40 UTC ---
Author: redi
Date: Sat Mar 16 20:22:30 2013
New Revision: 196710
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196710
Log:
PR libstdc++/56002
* include/std/mutex (lock_guard, unique_lock, lock): Define without
depending on _GLIBCXX_HAS_GTHREADS.
* testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
Modified:
branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
branches/gcc-4_7-branch/libstdc++-v3/include/std/mutex
branches/gcc-4_7-branch/libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc