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! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Looks like windows aggressively recycles PIDs... |
Beta Was this translation helpful? Give feedback.
-
|
Storing the process creation time in the lock file can address this, its probably a good cross platform improvement as well |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
#534