Thanks Igor. This is exactly what I was looking for.
Regards
thread_group is just a convenient container for thread objects.> I would like to add some multithreading in my application. Suppose I have a
> set of m tasks to do, and I want to limit the number of simultaneous threads
> to n. I have really no idea on how to do this and would like to have some
> hints. Could you help me?
What you need is thread pool, like this: http://threadpool.sourceforge.net/
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users