Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-02-19 09:07:34


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?

That means that I've figured out whom do you mean...

"Original-To: Gennadiy Rozental <gennadiy.rozental_at_[hidden]>"

...from the "Original-To"-in-the-headers-to-your-posting-here.

>
> > your Mutex class offers undefined behavior;
> > you really can NOT "replicate" a {pthread_mutex_t} mutex.
>
> Where do I replicate a mutex?

"....
 static const pthread_mutex_t MUTEX_INIT = PTHREAD_MUTEX_INITIALIZER;

 class Mutex {
   pthread_mutex_t l_;
 public:
   Mutex() : l_(MUTEX_INIT) {}"
             ^^^^^^^^^^^^^^

regards,
alexander.


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