This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/65393] std::thread shared_ptr inefficiency
- 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: Mon, 22 Jun 2015 15:53:59 +0000
- Subject: [Bug libstdc++/65393] std::thread shared_ptr inefficiency
- Auto-submitted: auto-generated
- References: <bug-65393-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65393
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 22 15:53:27 2015
New Revision: 224742
URL: https://gcc.gnu.org/viewcvs?rev=224742&root=gcc&view=rev
Log:
Backport from mainline
2015-06-16 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/65393
* src/c++11/thread.cc (thread::_M_make_thread): Replace shared_ptr
copies with moves.
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/src/c++11/thread.cc