Changeset 9623 in vbox for trunk/include/iprt/cpuset.h
- Timestamp:
- Jun 11, 2008 6:58:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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);
Note:
See TracChangeset
for help on using the changeset viewer.