samba@lists.samba.org
[Top] [All Lists]

Re: [Samba] to pthread or not to pthread

Subject: Re: [Samba] to pthread or not to pthread
From: Jeremy Allison
Date: Wed, 7 Apr 2010 11:45:14 -0700
On Wed, Apr 07, 2010 at 02:35:18PM -0400, Chris Smith wrote:
> On Wed, Apr 7, 2010 at 1:55 PM, Jeremy Allison <jra@xxxxxxxxx> wrote:
> > The Samba code itself doesn't use pthreads directly, but
> > many of the subsystems it uses (eg. ldap, aio) do. So
> > you're almost certainly compiling with pthreads whether
> > you want to or not :-).
> 
> So then:
> 
> --with-pthreads
> --enable-pthreadpool
> 
> are recommended configure options?

Wow, haven't looked at the --enable-pthreadpool
code in a while :-). Yes, should work (although
I don't compile with it by default, I don't think
it has bit-rotted :-).

As always, test before enabling by default :-).

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

<Prev in Thread] Current Thread [Next in Thread>