[Bug 7766] New: GetSystemInfo returns incorrect processor mask for
MP systems
Wine Bugs
wine-bugs at winehq.org
Fri Mar 16 12:58:20 CDT 2007
http://bugs.winehq.org/show_bug.cgi?id=7766
Summary: GetSystemInfo returns incorrect processor mask for MP
systems
Product: Wine
Version: CVS
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs at winehq.org
ReportedBy: juan_lang at yahoo.com
GetSystemInfo counts the number of processors in dwNumberOfProcessors, but
dwActiveProcessorMask remains 1 even if multiple processors are present.
Steps to reproduce:
1. Write a program which calls GetSystemInfo and prints the processors mask, e.g.:
SYSTEM_INFO si;
GetSystemInfo(&si);
printf("%lx\n", si.dwActiveProcessorMask);
2. Run this program on an SMP system.
Expected results:
On a 2-CPU system, the printout should be 00000003.
Actual results: 00000001
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list