Re: Interoperation of flock(2), fcntl(2), and lockf(3)

From: Cyrille Lefevre (clefevre-lists_at_9online.fr)
Date: 05/15/04

  • Next message: Kirk McKusick: "Re: Interoperation of flock(2), fcntl(2), and lockf(3)"
    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"
    

  • Next message: Kirk McKusick: "Re: Interoperation of flock(2), fcntl(2), and lockf(3)"

    Relevant Pages