Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-15 08:52:26

From: "David Abrahams" <david.abrahams_at_[hidden]>
> From: "Peter Dimov" <pdimov_at_[hidden]>
> > From: "terekhov" <terekhov_at_[hidden]>
> > <<
> > "There are several important blocking routines
> > that are specifically not made cancelation points:
> > - pthread_mutex_lock()
> > >>
> >
> > I agree that there should exist a non-cancelable mutex_lock() for use in
> > destructors, although the default mutex_lock IMHO should be cancelable.
> Is mutex_lock so very special in a destructor?

No, of course not. I meant that the library should provide a nothrow
mechanism to acquire a mutex since in my (limited) experience some
destructors need it; how is this done is irrelevant.

Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at, gregod at, cpdaniel at, john at