Boost logo

Boost Users :

From: Frank Mori Hess (fmhess_at_[hidden])
Date: 2007-12-11 22:13:33


On Tuesday 11 December 2007 17:03, Igor wrote:
> Hi,
>
> Could you please explain for beginner in thread-related business, how
> the thread is identified from itself? Can the program, that it the given
> thread, obtain its own number or an index of itself? I assume that there
> should be some enumeration such as numbering the main program by 0, next
> child thread by 1, etc.? And, in particular, is this number available
> from boost thread library?

See the default constructor for the boost::thread class.

-- 
Frank



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