diff --git a/Sources/Semaphore/AsyncSemaphore.swift b/Sources/Semaphore/AsyncSemaphore.swift index adf44e0..e367a72 100644 --- a/Sources/Semaphore/AsyncSemaphore.swift +++ b/Sources/Semaphore/AsyncSemaphore.swift @@ -41,7 +41,7 @@ import Foundation /// /// - ``wait()`` /// - ``waitUnlessCancelled()`` -public final class AsyncSemaphore { +public final class AsyncSemaphore: @unchecked Sendable { /// "Waiting for a signal" is easily said, but several possible states exist. private class Suspension { enum State {