What I am trying to do is remove threads from the thread group after
they have run. So that when my daemon iterates it will start new threads
if none exist.
Here is my current code modified so that it will build without any extra
dependencies.
#include
Jeremy Rottman wrote:
Anyone have any insight as to why these threads are not being terminated? I have been doing a lot of different tests to determine where it might be going wrong. And thus far, I have not been able to find exactly where or why the threads will not join properly.
[code that won't compile snipped]
a) What makes you think that the threads aren't being terminated?
b) It would be a lot more helpful if you provide code that compiles doesn't have dependencies others are unlikely to have.
A full set of includes at the top would also have helped.
After modifying your code I'm not sure what your problem is.
join_all/interrupt_all will not remove threads from the thread group.
n
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users