What happens to a lock when the process is killed? #116
Answered
by
gaborbernat
l-salewski
asked this question in
Q&A
-
First, thanks for this great library! I have a really short question. Unfortunately I wasn't able to find anything about this in the documentation, is a lock released if the process holding it is killed by an external event? Because otherwise this might cause a deadlock situation, where the process originally holding the lock was killed and the other processes wait forever. |
Beta Was this translation helpful? Give feedback.
Answered by
gaborbernat
Nov 3, 2021
Replies: 1 comment 2 replies
-
https://py-filelock.readthedocs.io/en/latest/index.html#filelock-vs-softfilelock covers this; if the app is killed there's little we can do |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
l-salewski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://py-filelock.readthedocs.io/en/latest/index.html#filelock-vs-softfilelock covers this; if the app is killed there's little we can do