Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions Sources/NIOConcurrencyHelpers/lock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ public final class Lock {
precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
#endif
}
}

@available(*, deprecated, renamed: "NIOLock")
extension Lock {
/// Acquire the lock for the duration of the given block.
///
/// This convenience method should be preferred to `lock` and `unlock` in
Expand Down Expand Up @@ -294,7 +291,7 @@ internal func debugOnly(_ body: () -> Void) {
}

#if compiler(>=5.5) && canImport(_Concurrency)
@available(*, deprecated, renamed: "NIOLock")
@available(*, deprecated)
extension Lock: Sendable {

}
Expand Down