[lkml]   [2008]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectlooking for a function
    Hi guys,

    I am looking for a function that can show me the current thread is
    running on which cpu.

    e.g I am using pthread to write a multithreaded program, in each
    thread I would like to insert such kind of function so that I can know
    on which cpu this thread is running on.

    which function should be used?

    thanks for the help!!

    best regards,


     \ /
      Last update: 2008-09-16 14:53    [W:0.032 / U:6.284 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site