Victor Gomez(deleted)
04/21/2015 7:11 AM
post113732
|
Hi folks,
I got a question regarding how to implement CPY affinity in QNX. I want to port some Linux code to QNX, and in my Linux
code I use pthread_setaffinity_np(), which sets some given cpu_set_t to a specific thread, not the calling thread.
Essentially, we create a thread from the calling threa,d and then we assign that newly created thread some specific CPU
affinity.
I can see that in QNX we can use threadCtl() for the calling thread. Is there any way to do it for a specific thread,
given its ID/name, and not just from the calling thread?
Thanks!
Victor.
|
|
|