Re: [LIP] Identifying the processor executing specific thread
"Yogesh Kulkarni" <Yogesh.Kulkarni-oonXi/[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <OF0D2F3341.5B293916-ON65256DD6.0021E535-65256DD6.0022B275@lntinfotech.com> |
| Any clue about how could one identify that | which of the underlying multiple processors | is executing any given thread on the system ? | Thanks | Amit Not sure if you can determine the processor at runtime. What u can do ( assuming u have the code ) is that u can bind a particular lwp to a cpu. Look at man pages for processor_bind(). --yogesh ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/