Skip to content

Commit

Permalink
AsyncSemaphore is Sendable
Browse files Browse the repository at this point in the history
  • Loading branch information
groue committed Oct 7, 2022
1 parent e16343b commit 0e2bdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Semaphore/AsyncSemaphore.swift
Expand Up @@ -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 {
Expand Down

0 comments on commit 0e2bdcf

Please sign in to comment.