"Yar Tikhiy" <[EMAIL PROTECTED]> wrote:
[snip]
> Considering all the above, I'd like to add the following paragraph
> to the flock(2), lockf(3), and fcntl(2) man pages (replacing the
> sentence quoted from lockf(3)):
> 
> The flock(2), fcntl(2), and lockf(3) locks are compatible.
> Processes using different locking interfaces can cooperate
> over the same file safely.  However, only one of such
> interfaces should be used within a process.  If a file is

s/a process/the same process/ ?

> locked by a process through flock(2), any record within the
> file will be seen as locked from the viewpoint of another
> process using fcntl(2) or lockf(3), and vice versa.

Cyrille Lefevre.
-- 
home: mailto:[EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to