Re: [PATCH] Makefile: introduce NO_PTHREADS
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:40
"Mike Ralphson" [off-list ref] writes:
2008/11/15 Linus Torvalds [off-list ref]:quoted
On Sat, 15 Nov 2008, Junio C Hamano wrote:quoted
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.
Thanks. I expect to be slow this week til just before Thanksgiving, so the more people we have to keep an eye on the areas they excel at, the better for all of us and certainly it would help me a lot.