Boost logo

Boost :

From: Kevin Atkinson (kevin_at_[hidden])
Date: 2003-02-19 08:44:49


On Wed, 19 Feb 2003, Kevin Atkinson wrote:

> On Wed, 19 Feb 2003, Alexander Terekhov wrote:
>
> > Kevin Atkinson wrote:
> >
> > > I have got very little indication that you actually looked at what my
> > > classes are offering.
> >
> > Uhmm. "Original-To" aside,
>
> What does that mean?
>
> > your Mutex class offers undefined behavior;
> > you really can NOT "replicate" a {pthread_mutex_t} mutex.
>
> Where do I replicate a mutex? I maintain a *pointer* to the Mutex class
> which holds the actual Mutex, which can not be copied.

I'm sorry. It turns out that I neglected to make the actual Mutex
uncopyable. However, that does not change the fact that I never actually
make a copy of pthread_mutex_t. To make sure I just made the Mutex
uncopyable and recompiled the example with out any errors.

-- 
http://kevin.atkinson.dhs.org

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