]> gerrit.simantics Code Review - simantics/platform.git/commit
Try to acquire DB lock even if the lock file already exists
authorJussi Koskela <jussi.koskela@semantum.fi>
Mon, 8 May 2017 10:14:49 +0000 (13:14 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 11 May 2017 20:16:49 +0000 (23:16 +0300)
commit4b277ed9a9aeef8bc43794989bd636b3768a4fa2
tree0a95df6b73bd280c31a3fcc07efd15ee056d05c1
parenta02a5904a09f9bc2cf6477f0dc0552de2abe68ed
Try to acquire DB lock even if the lock file already exists

Lock file may already exist if the program crashed or was terminated
forcefully. It is ok to try acquiring the lock on existing lock file.

refs #7124

Change-Id: I1467dee3d889d18c68664f6df0b9fa9b13296351
(cherry picked from commit ca260ab8f66fabd96ec3af80a3143ae09907d3db)
bundles/org.simantics.acorn/src/org/simantics/acorn/internal/AcornDatabase.java