Zen API
|
Sets the CPUs with which the periodic callback thread should have affinity.
Affinity support is provided on a best-effort basis; if the OS refuses or further restricts the specified affinity configuration, it will not be reported as an error.
This method can be called before or after starting the periodic callback.
Refer to kThread_SetAffinity for information about thread affinity.
timer | kPeriodic object. |
affinity | Array of CPUs with which the periodic callback thread should have affinity (or kNULL or empty array to specify no affinity). |