On 20/05/2015 08:40, Lane wrote:
Thanks for the explanation, that helps. But what I'm looking to do is
find a way to call the destructor on the thread object. The ClassA and
classB objects are connected to a USB device and I need to find a way to
properly shut them down before destroying the threads in on_exit(). Any
thoughts?
I covered that in my second reply. After joining the threads, you have to destroy the thread_group. But first you must make it destroyable, by putting it in a unique_ptr.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users