Re: Interoperation of flock(2), fcntl(2), and lockf(3)
From: Cyrille Lefevre (clefevre-lists_at_9online.fr)
Date: 05/15/04
- Previous message: Yar Tikhiy: "Interoperation of flock(2), fcntl(2), and lockf(3)"
- In reply to: Yar Tikhiy: "Interoperation of flock(2), fcntl(2), and lockf(3)"
- Next in thread: Yar Tikhiy: "Re: Interoperation of flock(2), fcntl(2), and lockf(3)"
- Reply: Yar Tikhiy: "Re: Interoperation of flock(2), fcntl(2), and lockf(3)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "Yar Tikhiy" <yar@comp.chem.msu.su>, <arch@freebsd.org>, <hackers@freebsd.org> Date: Sat, 15 May 2004 13:00:13 +0200
"Yar Tikhiy" <yar@comp.chem.msu.su> 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:cyrille.lefevre@laposte.net _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Yar Tikhiy: "Interoperation of flock(2), fcntl(2), and lockf(3)"
- In reply to: Yar Tikhiy: "Interoperation of flock(2), fcntl(2), and lockf(3)"
- Next in thread: Yar Tikhiy: "Re: Interoperation of flock(2), fcntl(2), and lockf(3)"
- Reply: Yar Tikhiy: "Re: Interoperation of flock(2), fcntl(2), and lockf(3)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|