Lockes are used to serialize changes. The corollary to choosing
locks that magically evaporate on abnormal (like kill -9) termination
is that whatever inconsistencies/serialization MUST be dealt with.
The existence (or "stale lock" cleanup on process termination) is hardly
the issue.
"Use fcntl locks!" is hardly a panacea; in fact its a useless piece of FUD.
Re comment #3:
Lockes are used to serialize changes. The corollary to choosing /serialization MUST be dealt with.
locks that magically evaporate on abnormal (like kill -9) termination
is that whatever inconsistencies
The existence (or "stale lock" cleanup on process termination) is hardly
the issue.
"Use fcntl locks!" is hardly a panacea; in fact its a useless piece of FUD.