Gets the currently running thread's home SRADID (Scheduler Resource Allocation Domain Identifier).
Standard C library (libc.a)
#include <sys/rset.h>
sradid_t rs_get_homesrad(void)
If the ENHANCED_AFFINITY services are enabled, the rs_get_homesrad subroutine returns the home SRADID of the currently running thread. If the ENHANCED_AFFINITY services are not enabled, the rs_get_homesrad subroutine returns SRADID_ANY. SRADID is the index of a resource allocation domain (RAD) at the R_SRADSDL system detail level. See the rs_getrad Subroutine subroutine for information about obtaining a resource set that corresponds to a returned SRADID.
If the ENHANCED_AFFINITY services are enabled, the home SRADID of the currently running thread is returned. Otherwise, SRADID_ANY is returned.