Changeset 11256 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Aug 8, 2008 2:17:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/mp-solaris.cpp
r11241 r11256 189 189 } 190 190 191 RTDECL(RTCPUID) RTMpGetCount(void) 192 { 193 /* 194 * Solaris has sysconf. 195 */ 196 return sysconf(_SC_NPROCESSORS_CONF); 197 } 198 199 RTDECL(RTCPUID) RTMpGetOnlineCount(void) 200 { 201 /* 202 * Solaris has sysconf. 203 */ 204 return sysconf(_SC_NPROCESSORS_ONLN); 205 }
Note:
See TracChangeset
for help on using the changeset viewer.