[lkml]   [2009]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC][PATCH] Add prctl to set sibling thread names
    KOSAKI Motohiro wrote:

    > John, I'd prefer to suggested another design.
    > How about this?
    > 1. remove pid argument from prctl
    > 2. cancel pthread_setname_np()
    > 3. instead, create pthread_attr_setname_np()
    > 4. pthread_create() change own thread name by pthread_attr.
    > It avoid many racy problem automatically.

    Perhaps, but it also greatly reduces the flexibility of the
    implementation by restricting name changes to create time.

    Darren Hart
    IBM Linux Technology Center
    Real-Time Linux Team

     \ /
      Last update: 2009-11-05 06:21    [W:0.019 / U:89.588 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site