looking for a function
"Xu Yang" <[email protected]> Tue, 16 Sep 2008 14:34:17 +0200
| Newsgroups | org.kernel.vger.linux-smp |
|---|---|
| Message-ID | <[email protected]> |
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, Yang