Why no stale lock detection on windows? #531
|
Hi - I am debugging some code on windows and its fairly often that stale locks get left around. I see that stale lock remove is not listed as a windows feature and its intentionally disabled in the code. I was just wondering why this is the case? Thanks! |
Answered by
gaborbernat
Apr 19, 2026
Replies: 3 comments
|
Looks like windows aggressively recycles PIDs... |
0 replies
|
Storing the process creation time in the lock file can address this, its probably a good cross platform improvement as well |
0 replies
0 replies
Answer selected by
gaborbernat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#534