git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Etienne Buira <etienne.buira@gmail.com>
To: pclouds@gmail.com
Cc: git@vger.kernel.org, etienne.buira@gmail.com
Subject: Re: [PATCH v2] Handle atexit list internaly for unthreaded builds
Date: Mon, 13 Oct 2014 17:19:11 +0200	[thread overview]
Message-ID: <1413213552-13769-1-git-send-email-etienne.buira@gmail.com> (raw)
In-Reply-To: <CACsJy8CbhS=dv3fHvyTv0b-jazh3XS+nswmz_0AsLeHqko794g@mail.gmail.com>

On Mon, Oct 13, 2014 at 2:56 AM, Duy Nguyen <pclouds@gmail.com> wrote:
> 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)"?

Updated.

> cmd_ is usually for commands' "main" functions. Maybe
> rename it to git_atexit().

Indeed, renamed. Thank you.

  reply	other threads:[~2014-10-13 15:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-11 14:53 [PATCH] Handle atexit list internaly fo unthreaded builds Etienne Buira
2014-10-12  9:09 ` [PATCH v2] " Etienne Buira
2014-10-13  0:56   ` Duy Nguyen
2014-10-13 15:19     ` Etienne Buira [this message]
2014-10-13 15:19       ` [PATCH v3] Handle atexit list internaly for " Etienne Buira
2014-10-13 16:37         ` Andreas Schwab
2014-10-13 18:35           ` [PATCH v4] " Etienne Buira
2014-10-13 20:00             ` Junio C Hamano
2014-10-14 15:02               ` Etienne Buira
2014-10-18 12:31                 ` [PATCH v5] " Etienne Buira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1413213552-13769-1-git-send-email-etienne.buira@gmail.com \
    --to=etienne.buira@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=pclouds@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).