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

Re: [PATCH 1/2] fix compilation with --disable-pthreads

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 13, 2014, 19:10 UTC
Message-ID
<xmqqwq833hws.fsf@gitster.dls.corp.google.com>
In-Reply-To
<d2df2f619967ea7ba9625868b9c77d79a1190665.1413038338.git.etienne.buira@gmail.com>
Etienne Buira <etienne.buira@gmail.com> writes:
> Subject: Re: [PATCH 1/2] fix compilation with --disable-pthreads

That probably is a typo of "NO_PTHREADS=NoThanks" or something. Thanks.

Just out of curiosity, are you porting to some exotic platforms?
Show 17 quoted lines
> Signed-off-by: Etienne Buira <etienne.buira@gmail.com>
> ---
>  builtin/index-pack.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/builtin/index-pack.c b/builtin/index-pack.c
> index eebf1a8..0f88f4b 100644
> --- a/builtin/index-pack.c
> +++ b/builtin/index-pack.c
> @@ -185,6 +185,9 @@ static void cleanup_thread(void)
>  #define deepest_delta_lock()
>  #define deepest_delta_unlock()
>  
> +#define type_cas_lock()
> +#define type_cas_unlock()
> +
>  #endif
Previous: Etienne Buira
Message 5 of 5 in “fix compilation with --disable-pthreads”
  1. 1/2 fix compilation with --disable-pthreadsEtienne Buira, Oct 11, 2014
  2. 2/2 Remove spurious 'no threads support' warningsEtienne Buira, Oct 11, 2014
  3. Junio C HamanoOct 13, 2014
  4. Etienne BuiraOct 14, 2014
  5. Junio C HamanoOct 13, 2014

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.