[Bug libstdc++/56002] [C++11] allow generic locks to be used without requiring plattform support for threads
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 24 17:52:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56002
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-24 17:51:52 UTC ---
Fixed for 4.8.1 by this patch:
Author: redi
Date: Sun Mar 24 17:50:44 2013
New Revision: 197020
URL: http://gcc.gnu.org/viewcvs?rev=197020&root=gcc&view=rev
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_8-branch/libstdc++-v3/ChangeLog
branches/gcc-4_8-branch/libstdc++-v3/include/std/mutex
branches/gcc-4_8-branch/libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc
More information about the Gcc-bugs
mailing list