git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Change configure to check if pthreads are usable without any extra flags

From
Max Horn <max@quendi.de>
Date
Jul 9, 2012, 21:44 UTC
Message-ID
<84D9664E-3249-4D80-980A-C01B02DF5E43@quendi.de>
In-Reply-To
<7vtxxgkac0.fsf@alter.siamese.dyndns.org>
On 09.07.2012, at 21:23, Junio C Hamano wrote:
Show 13 quoted lines
> Max Horn <max@quendi.de> writes:
> 
>>> would it be feasible for the purpose of
>>> the check to tweak the definition of "works" used in the loop so that
>>> it considers the warning as "not working"?
>> 
>> That would be possible, and probably a good idea. But it is also
>> completely orthogonal to my patch. Indeed, if done without my
>> patch,...
> 
> No, I was suggesting it as a possible way to make the addition of ""
> order independent (which you said is impossible in your initial
> reply).
This would make things "order independent" for the specific subset of pthread implementations git supports right now. But there are systems where e.g. both -lpthreads and -lpthread work (link correctly, produce no warnings), but only one provides a POSIX compliant pthread implementation. For such systems, order will play a role, no matter what. Granted, git does not yet support such systems (with regards to pthreads, at least) at all. 
But all in all, I don't understand why this order independence seems to be so important? To me it seems merely an illusion anyway, not worth the extra effort.
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 9 in “Change configure to check if pthreads are usable without any extra flags”
  1. Change configure to check if pthreads are usable without any extra flagsMax Horn, Jul 5, 2012
  2. Junio C HamanoJul 9, 2012
  3. Max HornJul 9, 2012
  4. Junio C HamanoJul 9, 2012
  5. Max HornJul 9, 2012
  6. Junio C HamanoJul 9, 2012
  7. Max HornJul 9, 2012
  8. Junio C HamanoJul 9, 2012
  9. Max HornJul 10, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.