public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* lockfiles & fork()
@ 2006-10-28  1:21 Johannes Schindelin
  2006-10-28  1:41 ` Junio C Hamano
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Johannes Schindelin @ 2006-10-28  1:21 UTC (permalink / raw)
  To: git

Hi,

when you setup a lockfile, and then fork(), you could easily end up with 
atexit() kicking in to remove the lockfile, before the main process has a 
chance to commit. (Yes, I need to hold the lock long before the fork()).

Any ideas how to solve the problem?

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-10-28 13:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-28  1:21 lockfiles & fork() Johannes Schindelin
2006-10-28  1:41 ` Junio C Hamano
2006-10-28  1:52 ` Linus Torvalds
2006-10-28 13:30 ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox