[rsyslog] rsyslog 4.1.4 - one (small) bug left
Rainer Gerhards
rgerhards at hq.adiscon.com
Fri Jan 30 17:28:47 CET 2009
> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of david at lang.hm
> Sent: Friday, January 30, 2009 6:29 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] rsyslog 4.1.4 - one (small) bug left
>
> On Fri, 30 Jan 2009, Rainer Gerhards wrote:
>
> > Hi all,
> >
> > I have now basically ported the race bugfix to all branches
> > (verification and double-check still in the works). While doing
this,
> I
> > noticed that one small issues slipped my attention with yesterday's
> > 4.1.4 version. If compiled with atomics, I unlock an already
unlocked
> > mutex (which is destroyed with the very next statement) in
> msgDestruct.
> > That should not have any really bad effects (but you never know...).
> The
> > master branch is now updated, so you may want to pull a fixed
version
> > from there. I will not do a new release just for this reason - it'll
> be
> > included in the next version.
>
> so 4.1.4 should be using the atomics for queue management not mutexes?
It depends... If atomics are available, they are the preferred method.
If not available, the code falls back to mutexes.
Rainer
More information about the rsyslog
mailing list