@@ -106,7 +106,7 @@ private final class WorkQueue: Sendable {
106106 #if canImport(WinSDK)
107107 EnterCriticalSection ( self . mutex)
108108 defer {
109- LeaveCriticalSection ( self . mutex) ;
109+ LeaveCriticalSection ( self . mutex)
110110 }
111111 #else
112112 pthread_mutex_lock ( self . mutex)
@@ -140,7 +140,7 @@ private final class WorkQueue: Sendable {
140140 self . withLock { queue in
141141 queue. append ( workItem)
142142 #if canImport(WinSDK)
143- WakeConditionVariable ( self . waitCondition) ;
143+ WakeConditionVariable ( self . waitCondition)
144144 #else
145145 pthread_cond_signal ( self . waitCondition)
146146 #endif
@@ -151,7 +151,7 @@ private final class WorkQueue: Sendable {
151151 self . withLock { queue in
152152 queue. removeAll ( )
153153 #if canImport(WinSDK)
154- WakeConditionVariable ( self . waitCondition) ;
154+ WakeConditionVariable ( self . waitCondition)
155155 #else
156156 pthread_cond_signal ( self . waitCondition)
157157 #endif
@@ -209,8 +209,8 @@ private func _shutdownWorkerThread() {
209209 }
210210 _workQueue. shutdown ( )
211211 #if canImport(WinSDK)
212- WaitForSingleObject ( thread, INFINITE) ;
213- CloseHandle ( thread) ;
212+ WaitForSingleObject ( thread, INFINITE)
213+ CloseHandle ( thread)
214214 DeleteCriticalSection ( _workQueue. mutex)
215215 // We do not need to destroy CONDITION_VARIABLE
216216 #else
@@ -225,7 +225,7 @@ private func _shutdownWorkerThread() {
225225// MARK: - AtomicCounter
226226
227227#if canImport(Darwin)
228- // Unfortunately on Darwin we can unconditionally use Atomic since it requires macOS 15
228+ // Unfortunately on Darwin we cannot unconditionally use Atomic since it requires macOS 15
229229internal struct AtomicCounter : ~ Copyable {
230230 private let storage : OSAllocatedUnfairLock < UInt8 >
231231
0 commit comments