On Tue May 13, 2014 at 17:05:34 -0800, Yuxin Ren wrote:The system does not do migrate threads between CPUs on its own, so your
> How can I get the id of cpu(core) the current thread is running on?
program is running on CPU0. And from that point (in a simple scenario)
programs control themselves where they migrate to, so they know where
they are running on.
Adam
--
Adam adam@os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
_______________________________________________
l4-hackers mailing list
l4-hackers@os.inf.tu-dresden.de
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers