关于flock与fcntl区别
看到下面这段文字,没看懂,请解释一下:
A process can never lock itself out of a file region, even when placing locks via
multiple file descriptors referring to the same file. (This contrasts with flock())
另外,如果能全面的解释一下flock与fcntl在文件锁上使用的区别,不胜感谢。
A process can never lock itself out of a file region, even when placing locks via
multiple file descriptors referring to the same file. (This contrasts with flock())
另外,如果能全面的解释一下flock与fcntl在文件锁上使用的区别,不胜感谢。
...全文


