[lkml]   [2003]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: fcntl file locking and pthreads
    In article <>,
    Mikhail Kruk <> wrote:
    >CLONE_FILES is an argument to clone(), I'm using pthreads and I don't
    >know if LinuxThreads implementation of pthreads gives me control of
    >how clone is called. Anyway, if I understand what CLONE_FILES does,
    >it should be given to clone, because threads do have to be able to share file
    >descriptors, probably. But not the locks!

    Are you sure. I think threads /of a process/ have to share the
    locks, under Linux that would translate to a thread-group.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:35    [W:0.024 / U:37.060 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site