[lkml]   [2008]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH, v3] shmat: introduce flag SHM_MAP_NOT_FIXED
    > That is racy when multi threaded because shmat() doesn't replace, so you 
    > would need to munmap() inbetween and someone else could steal the area
    > then. Yes you could stick a loop around it. It could livelock.
    > No, it's not a good interface I would advocate.

    You could just use pthread mutexes in your application. The rôle of the
    kernel is not to provide nappies for people who think programming is too
    hard but to provide services that can be used to build applications.

    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: 2008-10-08 12:27    [W:0.021 / U:43.240 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site