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

Re: [PATCH] t5512.40 sometimes dies by SIGPIPE

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 15, 2024, 16:13 UTC
Message-ID
<xmqq5xqwsxnr.fsf@gitster.g>
In-Reply-To
<CAPx1GvePRNzt_LFJAf+_-abdt--075LG8-DA=2YW_0R1soXz_w@mail.gmail.com>
Chris Torek <chris.torek@gmail.com> writes:
Show 7 quoted lines
> It's more complicated than that (and varies on MacOS), but it's true
> that the Go runtime wraps all OS-level write() operations. The reason
> for that is that Go has its own internal "thread" (g/m/p things, really)
> scheduler and does *all* I/O as non-blocking calls. Anything that
> potentially blocks an actual OS-level thread has to be handled
> specially. It's quite messy and You Don't Want To Go There (no
> pun intended) if you don't have to.
That sounds like a fun hack ;-)
Previous: Chris Torek
Message 8 of 8 in “t5512.40 sometimes dies by SIGPIPE”
  1. t5512.40 sometimes dies by SIGPIPEJunio C Hamano, Sep 13, 2024
  2. Eric SunshineSep 13, 2024
  3. Junio C HamanoSep 13, 2024
  4. Jeff KingSep 14, 2024
  5. Junio C HamanoSep 14, 2024
  6. Patrick SteinhardtSep 16, 2024
  7. Chris TorekSep 14, 2024
  8. Junio C HamanoSep 15, 2024

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.