Open GoogleCodeExporter opened 9 years ago
Actually, it is not in the general case possible to determine if the lock is
active, or if the owning process has died. It is possible on a single computer
of course, but if the repository is on a network share and the locking process
is on another computer, there is no way to find out if the locking process is
still alive.
Therefore, the goal of this issue should be to make sure there is a nice
message explaining the problem, and telling the user how to resolve the problem
manually if necessary.
Original comment by ekb...@gmail.com
on 10 Aug 2011 at 2:48
The process could write time-stamp to some file mutex-*/alive.txt at constant
time interval T1 (e.g. 10 sec)
Another process can check this file. If it exceeds T1 or T1x2 (i.e >20sec)
process is dead.
Original comment by BGA...@gmail.com
on 26 Feb 2013 at 12:41
Original issue reported on code.google.com by
ekb...@gmail.com
on 20 Jul 2011 at 8:46