mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 06:15:08 +00:00
Added support for multiple processor groups. Changed the ThreadAffinity class to use a new struct GroupAffinity. Changed operating system checks to make use of a new flag OperatingSystem.IsUnix.
This commit is contained in:
@@ -42,8 +42,7 @@ namespace OpenHardwareMonitor.Hardware {
|
||||
}
|
||||
|
||||
public SMBIOS() {
|
||||
int p = (int)Environment.OSVersion.Platform;
|
||||
if ((p == 4) || (p == 128)) {
|
||||
if (OperatingSystem.IsUnix) {
|
||||
this.raw = null;
|
||||
this.table = null;
|
||||
|
||||
|
Reference in New Issue
Block a user