Changeset 46668 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jun 19, 2013 3:41:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/darwin/mp-darwin.cpp
r44528 r46668 98 98 PROCESSOR_BASIC_INFO, &nCpus, (processor_info_array_t*)&pinfo, &count); 99 99 AssertReturn (krc == KERN_SUCCESS, true); 100 bool isOnline = idCpu < nCpus ? pinfo[idCpu].running : true;100 bool isOnline = idCpu < nCpus ? pinfo[idCpu].running : false; 101 101 vm_deallocate(mach_task_self(), (vm_address_t)pinfo, count * sizeof(*pinfo)); 102 102 return isOnline;
Note:
See TracChangeset
for help on using the changeset viewer.