This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/56002] [C++11] allow generic locks to be used without requiring plattform support for threads


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]