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

Re: What's cooking in git.git (Jul 2025, #02; Mon, 7)

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 9, 2025, 16:26 UTC
Message-ID
<xmqqa55dnxe9.fsf@gitster.g>
In-Reply-To
<vl7ahhcqgci3xemqhtdugdhar24ewl7mu4wqwxnc3jag5blpoo@l7b24mahadyi>
Carlo Marcelo Arenas Belón <carenas@gmail.com> writes:
Show 15 quoted lines
> On Mon, Jul 07, 2025 at 05:11:12PM -0800, Junio C Hamano wrote:
>> 
>> * cb/daemon-reap-children (2025-06-26) 4 commits
>>  - daemon: explicitly allow EINTR during poll()
>>  - daemon: use sigaction() to install child_handler()
>>  - compat/mingw: allow sigaction(SIGCHLD)
>>  - compat/posix.h: track SA_RESTART fallback
>> 
>>  Futz with SIGCHLD handling in "git daemon".
>> 
>>  Stalled?
>>  cf. <dba9ae0d-1e43-4345-a7ec-b57a07d45a07@gmail.com>
>>  source: <pull.2002.v3.git.git.1750927988.gitgitgadget@gmail.com>
>
> I don't think so, but definitely missing reviews (specially for patch 2)

That is what I called Stalled---stalling does not have to be due to author's inaction.

Show 19 quoted lines
> and slightly controversial.
> ...
> On the rationale on why this is independently useful, note that we are
> currently relying in at least 2 "unspecified" behaviours:
>
> 1) using signal() means that it is implementation defined if SA_RESTART
> will be enabled or not for that signal, and
> 2) if SA_RESTART is enabled, it is implementation defined if we might get
> interrupted in poll().
>
> both are resolved by using sigaction() instead, and it is up to us to
> decide if SA_RESTART is enabled or not (which might make patch 4 obsolete
> if we decide against).
>
> Carlo
>
> CC: Johannes Sixt on feedback for SIGCHLD in mingw which uses 17 instead
>     of 22 (cygwin and others) and therefore seem to cause signal to err
>     without setting errno as it should.
Thanks.
Previous: Junio C HamanoNext: Taylor Blau
Message 11 of 17 in “What's cooking in git.git (Jul 2025, #02; Mon, 7)”
  1. Junio C HamanoJul 8, 2025
  2. Ayush ChandekarJul 8, 2025
  3. René ScharfeJul 9, 2025
  4. Junio C HamanoJul 9, 2025
  5. Carlo Marcelo Arenas BelónJul 9, 2025
  6. Phillip WoodJul 9, 2025
  7. Johannes SixtJul 9, 2025
  8. Carlo Marcelo Arenas BelónJul 10, 2025
  9. Johannes SixtJul 10, 2025
  10. Junio C HamanoJul 10, 2025
  11. Junio C HamanoJul 9, 2025
  12. Taylor BlauJul 9, 2025
  13. Junio C HamanoJul 10, 2025
  14. Elijah NewrenJul 10, 2025
  15. Junio C HamanoJul 10, 2025
  16. brian m. carlsonJul 9, 2025
  17. Junio C HamanoJul 10, 2025

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.