Zen API
|
kStatus kThreadPool_SetAffinity | ( | kThreadPool | pool, |
kBitArray | affinity | ||
) |
Sets the CPUs with which the thread pool should have affinity.
This method is thread-safe.
pool | kThreadPool object. |
affinity | Array of CPUs with which the thread pool should have affinity (can use kNULL or empty array to specify no affinity). |