From: David Abrahams (dave_at_[hidden])
Date: 2004-04-19 09:43:35
Christophe Meessen <christophe_at_[hidden]> writes:
> First we where not very happy with boost threads because it requires a
> copy of the functor object. This does not allow to put non copyable
> object as member variables of the functor object. Knowing that mutex
> are none copyable objects, for good reasons, one understand that this
> API is far too constraining. I guess such design choices was driven by
> the requirement that the functor object lifetime is tighlty linked to
> the thread lifetime.
Is there some reason you can't embed a reference to a mutex?
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk