Syntax
Parameters
threadId PartyThreadId
The type of internal Party library thread for which processor affinity should be retrieved.
threadAffinityMask uint64_t*output The output affinity mask for this type of Party library thread.
Return value
PartyErrorc_partyErrorSuccess if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via GetErrorMessage().
Remarks
This retrieves the current processor affinity for internal Party library threads of a given type.This method does not require Initialize() to have been called first.
A reported value of
c_anyProcessor written to threadAffinityMask indicates that the thread is free to run on any processor.
Requirements
Header: Party.hSee also
PartyManagerPartyThreadId
PartyManager::SetThreadAffinityMask
