ReHIPS forum

English Subforum => Developers' Blog => Topic started by: fixer on October 04, 2017, 11:42:33 AM

Title: [FAQ] ReHIPS locks
Post by: fixer on October 04, 2017, 11:42:33 AM
You probably noticed a Lock Status column in Programs tree or saw an error window "Failed to lock ..., it is already locked". So what are these locks and why are they there?

Locks are introduced to block multiple ReHIPS database access to the same entity (program, isolated environment, etc.). For example you opened a program for edit, you don't want it to be unexpectedly deleted, so it's locked while you edit it, so any other access to the program has to wait until the lock is released.

So if you can't open a program with an error window saying it's already locked, maybe you have an alert opened for that program or some other ReHIPS window related to the program. Close them, the lock will be released, and you'll be able to open it freely.