Changeset 11256 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Aug 8, 2008 2:17:59 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r11239 r11256 498 498 r3/posix/process-posix.cpp \ 499 499 r3/posix/rand-posix.cpp \ 500 r3/posix/RTMpGetCount-posix.cpp \501 500 r3/posix/RTTimeNow-posix.cpp \ 502 501 r3/posix/semevent-posix.cpp \ -
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.