igor at sysoev.ru
Mon Nov 30 17:55:40 MSK 2009
On Mon, Nov 30, 2009 at 03:51:40PM +0100, Steve wrote:
> -------- Original-Nachricht --------
> > Datum: Mon, 30 Nov 2009 17:32:41 +0300
> > Von: Igor Sysoev <igor at sysoev.ru>
> > An: nginx at nginx.org
> > Betreff: Re: nginx-0.8.29
> > On Mon, Nov 30, 2009 at 02:55:00PM +0100, Steve wrote:
> > > > *) Feature: the --with-libatomic[=DIR] option in the configure.
> > > > Thanks to W-Mark Kubacki.
> > > >
> > > What is this libatomic? Is it this here ->
> > http://www.hpl.hp.com/research/linux/atomic_ops/
> > Yes.
> Is that needed if one is using GCC >= 4.1? Or is this already used (in some way) by this here:
> > *) Feature: GCC 4.1+ built-in atomic operations usage.
> > Thanks to W-Mark Kubacki.
If GCC supports atomic operations, then nginx uses them. Otherwise, it uses
own atomic operations for i386, amd64, sparc32/64, ppc32/64.
You may force to use libatomic, if you do not like GCC atomic operations.
More information about the nginx