[lkml]   [2009]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: spinlock which can morph into a mutex
    Miquel van Smoorenburg <> writes:
    > So I probably need a mutex instead of a spinlock, but I want to
    > keep minimal overhead for the common case (when no resizing is in
    > progress). I think I need a spinlock that can morph into a mutex ..

    The standed mutexes already do that by themselves.


    -- -- Speaking for myself only.

     \ /
      Last update: 2009-12-18 16:29    [W:0.512 / U:0.456 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site