Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-06-27 11:34:48


From: "Greg Colvin" <gcolvin_at_[hidden]>

> Perhaps the choice of a thread class versus thread namespace
> comes down to whether there are any operations that are best
> provided as member functions of thread?

I think that the choice of a class versus a namespace comes down to the
simple question "will the user ever see an instance of this class?"

If thread::id, or thread_ref, provides everything that is needed, the user
will never have to deal with a 'thread' instance.

--
Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk