
15 Apr
2008
15 Apr
'08
2:52 p.m.
Hello I m using a boost::thread_group instance to handle a limited number of threads. When the thread_group reach a defined size, I cal join_all() on it and I wonder how I could clear it without having to keep a pointer to its threads and call remove_thread() for each one. I thought about destruct th thread_group instance but I m not sure it's a good idea, so any advice is welcome. Regards Axel