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

2014-10-14 Thread Etienne Buira
On Mon, Oct 13, 2014 at 10:00 PM, Junio C Hamano wrote: > Etienne Buira writes: > >> Wrap atexit()s calls on unthreaded builds to handle callback list >> internally. >> >> This is needed because on unthreaded builds, asyncs inherits parent's >> atexit() list, that gets run as soon as the async ex

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

2014-10-13 Thread Junio C Hamano
Etienne Buira writes: > Wrap atexit()s calls on unthreaded builds to handle callback list > internally. > > This is needed because on unthreaded builds, asyncs inherits parent's > atexit() list, that gets run as soon as the async exit()s (and again at > the end of the parent process). That led to

[PATCH v4] Handle atexit list internaly for unthreaded builds

2014-10-13 Thread Etienne Buira
Wrap atexit()s calls on unthreaded builds to handle callback list internally. This is needed because on unthreaded builds, asyncs inherits parent's atexit() list, that gets run as soon as the async exit()s (and again at the end of the parent process). That led to remove temporary and lock files to