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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 13, 2014 at 2:56 AM, Duy Nguyen <pclouds@xxxxxxxxx> wrote:
> On Sun, Oct 12, 2014 at 4:09 PM, Etienne Buira <etienne.buira@xxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]