Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-11

lockfiles & fork()

From: Johannes Schindelin <hidden>
Date: 2016-08-11 19:20:12

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help