Changeset 9623
- Timestamp:
- 06/11/08 20:58:11 (6 months ago)
- Files:
-
- trunk/include/iprt/cpuset.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/iprt/cpuset.h
r9622 r9623 137 137 * @remarks The test is atomic. 138 138 */ 139 DECLINLINE(bool) RTCpuSetIsMemberByIndex(PCRTCPUSET pSet, RTCPUIDiCpu)140 { 141 if (RT_UNLIKELY( iCpu >= RTCPUSET_MAX_CPUS))139 DECLINLINE(bool) RTCpuSetIsMemberByIndex(PCRTCPUSET pSet, int iCpu) 140 { 141 if (RT_UNLIKELY((unsigned)iCpu >= RTCPUSET_MAX_CPUS)) 142 142 return false; 143 143 return ASMBitTest((volatile void *)pSet, iCpu);

