<div dir="ltr">Yes, thanks a lot. I've read it, understood, maybe this whole locking thing should be replaced with a better approach. First you mention in the first blog entry:<div><br></div><div>"Mandatory locking is available too. It's based on the POSIX locking API but not portable in itself. It's dangerous business and should generally be avoided in cleanly written software.</div>
<div>"</div><div><br></div><div style>Now, what do you mean? I think that mandatory locking is actually better. A lock by definition is a way to prevent other processes/threads to use a specific range in a file. What's the use of it when it's not mandatory? I've read the paper:</div>
<div style><br></div><div style><a href="http://kernel.org/doc/Documentation/filesystems/mandatory-locking.txt">http://kernel.org/doc/Documentation/filesystems/mandatory-locking.txt</a><br></div><div style><br></div><div style>
which is clear to me.</div><div style><br></div><div style><br></div><div class="gmail_extra" style>Stef<br><br></div></div>