[Samba] to pthread or not to pthread
Jeremy Allison
jra at samba.org
Wed Apr 7 12:45:14 MDT 2010
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 at samba.org> 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.
More information about the samba
mailing list