This commit is contained in:
Serhiy Mytrovtsiy
2025-04-13 19:01:48 +02:00
parent 9da54f250b
commit eeb1012b6f
4 changed files with 12 additions and 6 deletions

View File

@@ -303,7 +303,13 @@ public class FrequencyReader: Reader<CPU_Frequency> {
private var prev: (samples: CFDictionary, time: TimeInterval)? = nil
private let measurementCount: Int = 4
private var isReading: Bool = false
private let isReadingQueue = DispatchQueue(label: "com.example.isReadingQueue")
private var _isReading: Bool = false
private var isReading: Bool {
get { self.isReadingQueue.sync { self._isReading } }
set { self.isReadingQueue.sync { self._isReading = newValue } }
}
private struct IOSample {
let group: String

View File

@@ -2867,7 +2867,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 2.11.39;
MARKETING_VERSION = 2.11.40;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = eu.exelban.Stats;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2904,7 +2904,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 2.11.39;
MARKETING_VERSION = 2.11.40;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = eu.exelban.Stats;
PRODUCT_NAME = "$(TARGET_NAME)";

View File

@@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>694</string>
<string>696</string>
<key>Description</key>
<string>Simple macOS system monitor in your menu bar</string>
<key>LSApplicationCategoryType</key>

View File

@@ -11,9 +11,9 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleShortVersionString</key>
<string>2.11.39</string>
<string>2.11.40</string>
<key>CFBundleVersion</key>
<string>694</string>
<string>696</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>