Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Prove that the timers that stop a tool run at user-initiated quality
Țugui Dragoșbccef8d0fb8e
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/SubprocessTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/SubprocessTests.swiftindex 041ae203..555bdb47 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/SubprocessTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/SubprocessTests.swift@@ -83,8 +83,12 @@ struct SubprocessTests {#expect(result == .failure(.timedOut))}- @Test func theTimersThatStopAToolNeverWaitBehindWorkOfLowerQuality() {- #expect(Subprocess.timers.label == DispatchQueue.global(qos: .userInitiated).label)+ @Test func theTimersThatStopAToolRunAtUserInitiatedQuality() async {+ let quality = await withCheckedContinuation { continuation in+ Subprocess.timers.asyncAfter(deadline: .now()) { continuation.resume(returning: qos_class_self()) }+ }++ #expect(quality == QOS_CLASS_USER_INITIATED)}/// What a tool writes reaches whoever asked while the tool still runs, from either stream, so a long run can