Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kThreadPool_SetAffinity ( kThreadPool  pool,
kBitArray  affinity 
)

Sets the CPUs with which the thread pool should have affinity.

This method is thread-safe.

Parameters
poolkThreadPool object.
affinityArray of CPUs with which the thread pool should have affinity (can use kNULL or empty array to specify no affinity).
Returns
Operation status.
See also
kThread_SetAffinity