Boost logo

Boost Users :

From: Moshe Matitya (Moshe.Matitya_at_[hidden])
Date: 2006-12-12 06:40:03


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net