Re: [ROOT] 'Fast' Pthread Mutex

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Aug 13 2004 - 17:24:14 MEST


Hi Thomas,

  yes I see, so we need to change the ctor, Lock() and Unlock() to
support fast in addition to errorcheck and recursive. To be done. If you
mail me a patch then it will be done sooner ;-)

-- Fons



On Fri, 2004-08-13 at 16:23, Thomas Bretz wrote:
> Dear Fons,
> 
> no, this is not true, because you 'overwrite' the behaviour of a fast 
> pthread mutex in your Lock() - UnLock() function...
> 
> Thomas.
> 
> Fons Rademakers wrote:
> > Hi Thomas,
> > 
> >   we call initialize mutex with the default mutex attr and therefore
> > they should be of the fast type.
> > 
> > Cheers, Fons.
> > 
> > 
> > On Mon, 2004-05-03 at 01:38, Thomas Bretz wrote:
> > 
> >>Dear all,
> >>
> >>how can I get the behaviour of a 'fast' pthread mutex with root's TMutex?
> >>
> >>Thomas.
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET