Subject: [Boost-bugs] [Boost C++ Libraries] #6845: boost::thread, thread_group
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-29 13:22:22
#6845: boost::thread,thread_group
------------------------------+---------------------------------------------
Reporter: tigeroar@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.49.0 | Component: thread
Version: Boost 1.49.0 | Severity: Problem
Keywords: thread |
------------------------------+---------------------------------------------
void remove_thread(thread* thrd)
{
boost::lock_guard<shared_mutex> guard(m);
std::list<thread*>::iterator const
it=std::find(threads.begin(),threads.end(),thrd);
if(it!=threads.end())
{
''' delete *it;???'''
threads.erase(it);
}
}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6845> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC