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

Re: [PATCH v2] Handle atexit list internaly fo unthreaded builds

From
Duy Nguyen <pclouds@gmail.com>
Date
Oct 13, 2014, 00:56 UTC
Message-ID
<CACsJy8CbhS=dv3fHvyTv0b-jazh3XS+nswmz_0AsLeHqko794g@mail.gmail.com>
In-Reply-To
<1413104974-3861-1-git-send-email-etienne.buira@gmail.com>
On Sun, Oct 12, 2014 at 4:09 PM, Etienne Buira <etienne.buira@gmail.com> wrote:
> Replace atexit()s calls with cmd_atexit that is atexit() on threaded
> builds, but handles the callbacks list internally for unthreaded builds.

Maybe hide this in git-compat-util.h and "#define atexit(x) cmd_atexit(x)"? cmd_ is usually for commands' "main" functions. Maybe rename it to git_atexit().

-- 
Duy
Previous: Etienne BuiraNext: Etienne Buira
Message 3 of 10 in “Handle atexit list internaly fo unthreaded builds”
  1. Handle atexit list internaly fo unthreaded buildsEtienne Buira, Oct 11, 2014
  2. Handle atexit list internaly fo unthreaded buildsEtienne Buira, Oct 12, 2014
  3. Duy NguyenOct 13, 2014
  4. Etienne BuiraOct 13, 2014
  5. Handle atexit list internaly for unthreaded buildsEtienne Buira, Oct 13, 2014
  6. Andreas SchwabOct 13, 2014
  7. Handle atexit list internaly for unthreaded buildsEtienne Buira, Oct 13, 2014
  8. Junio C HamanoOct 13, 2014
  9. Etienne BuiraOct 14, 2014
  10. Handle atexit list internaly for unthreaded buildsEtienne Buira, Oct 18, 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.