[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.019 / U:2.916 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site