
What is the method boost prefers to pass arguments to boost threads? (such as a pointer to some class object) I saw the class thread_specific_ptr. Is thread_specific_ptr designed for this purpose? Is there a recommended site with boost examples to check out? Boost has good documentation, although I prefer to learn by example and use strict documentation as I become more experienced. Thanks much, Graham ____________________________________________________________________________________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited

Forever Kid wrote:
What is the method boost prefers to pass arguments to boost threads? (such as a pointer to some class object)
I saw the class thread_specific_ptr. Is thread_specific_ptr designed for this purpose?
Is there a recommended site with boost examples to check out? Boost has good documentation, although I prefer to learn by example and use strict documentation as I become more experienced.
Thanks much, Graham
Take a look this introductory article on Boost.Threads by Bill Kempf: http://www.ddj.com/184401518 It addresses the question you're asking in a very clear, straightforward manner, with examples. Moshe
participants (2)
-
Forever Kid
-
Moshe Matitya