[Bug libstdc++/65393] std::thread shared_ptr inefficiency
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 22 15:54:00 GMT 2015
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
More information about the Gcc-bugs
mailing list