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

Re: [PATCH v4] compat/winansi: check for errors of CreateThread() correctly

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 1, 2023, 22:37 UTC
Message-ID
<xmqq357pyptu.fsf@gitster.g>
In-Reply-To
<pull.1445.v4.git.git.1675290034144.gitgitgadget@gmail.com>
"Rose via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 7 quoted lines
> From: Seija Kijin <doremylover123@gmail.com>
>
> The return value for failed thread creation is NULL,
> not INVALID_HANDLE_VALUE, unlike other Windows API functions.
>
> Signed-off-by: Seija Kijin <doremylover123@gmail.com>
> ---
Thanks.  Will queue with the Ack by j6t given earlier.
Previous: Rose via GitGitGadgetNext: Johannes Sixt
Message 6 of 7 in “win32: check for NULL when creating thread”
  1. win32: check for NULL when creating threadRose via GitGitGadget, Jan 31, 2023
  2. win32: check for NULL after creating threadRose via GitGitGadget, Jan 31, 2023
  3. win32: check for NULL after creating threadRose via GitGitGadget, Feb 1, 2023
  4. Johannes SixtFeb 1, 2023
  5. compat/winansi: check for errors of CreateThread() correctlyRose via GitGitGadget, Feb 1, 2023
  6. Junio C HamanoFeb 1, 2023
  7. Johannes SixtFeb 1, 2023

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.