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

Re: [PATCH] run-command: detect finished children by closed pipe rather than waitpid

From
Torsten Bögershausen <tboegi@web.de>
Date
Nov 7, 2015, 06:28 UTC
Message-ID
<563D9A0E.8050405@web.de>
In-Reply-To
<1446853737-19047-1-git-send-email-sbeller@google.com>
On 07.11.15 00:48, Stefan Beller wrote:
Show 6 quoted lines
>  
> +enum child_state {
> +	FREE,
> +	WORKING,
> +	WAIT_CLEANUP,
> +};

This kind of "generic names" feels are begging for name clash, some day, may be in the future. How about something like this:

> +	GIT_CP_FREE,
> +	GIT_CP_WORKING,
> +	GIT_CP_WAIT_CLEANUP,
Previous: Stefan BellerNext: Johannes Sixt
Message 2 of 7 in “run-command: detect finished children by closed pipe rather than waitpid”
  1. run-command: detect finished children by closed pipe rather than waitpidStefan Beller, Nov 6, 2015
  2. Torsten BögershausenNov 7, 2015
  3. Johannes SixtNov 7, 2015
  4. Stefan BellerNov 11, 2015
  5. Johannes SixtNov 11, 2015
  6. Stefan BellerNov 11, 2015
  7. Johannes SixtNov 11, 2015

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.