Getting the current cpu information
I'm having some fun writing simple applications that use pthreads. Is it
possible for a thread to get information about which core it is running
on? I'm trying to play around with the thread affinity of a thread, so it
would be really useful to know the details of which core a thread would be
running on.
No comments:
Post a Comment