Re: [PATCH] Makefile: introduce NO_PTHREADS
- From
Mike Ralphson <mike.ralphson@gmail.com>
- Date
- Nov 17, 2008, 10:03 UTC
- Message-ID
- <e2b179460811170203v41e54ecclc3d6526bcc0fe928@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.2.00.0811150915240.3468@nehalem.linux-foundation.org>
2008/11/15 Linus Torvalds <torvalds@linux-foundation.org>:
Show 10 quoted lines
> > On Sat, 15 Nov 2008, Junio C Hamano wrote: >> >> This introduces make variable NO_PTHREADS for platforms that lack the >> support for pthreads library or people who do not want to use it for >> whatever reason. When defined, it makes the multi-threaded index >> preloading into a no-op, and also disables threaded delta searching by >> pack-objects. > > Ack. Makes sense.
I'd be minded to make this the default on AIX to keep the prerequisite list as small as possible, then people can opt-in for the performance benefits if required.
I'll wait a little while to see if anyone else reports the same for other platforms and then submit a patch.
Mike