How to Obtain Core Number for Thread Executing?
Joel Sherrill
joel.sherrill at OARcorp.com
Tue May 20 16:21:31 UTC 2014
I meant for a thread that is executing. It may not be
the one executing.
I need the core number to be able to work with a
cpu_set_t.
On 5/20/2014 11:13 AM, Joel Sherrill wrote:
> Hi
>
> I was looking for a simple obvious method to do this
> and I don't see it.
>
> I backed out from the per cpu pointer to an index
> but thought there had to be a better way.
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel
mailing list