Files
swift-nio/Sources/NIOConcurrencyHelpers
Cory BenfieldandGeorge Barnett fc5e8460af Backport: Remove sendable checking from NIOLock and NIOLockedValueBox (#2968) (#2992)
Motivation:

ManagedBuffer is marked as explicitly not sendable on Swift nightly
builds. NIOLock and NIOLockedValueBox used a type derived from
ManagedBuffer and must be Sendable. Currently the derived type is marked
as `@unchecked Sendable`. However on nightly toolchains this now
conflicts with being explicitly not Sendable.

Modifications:

- Remove Sendable checking on NIOLock and NIOLockedValueBox

Result:

Fewer warnings

(cherry picked from commit 6d30ec4738)

Co-authored-by: George Barnett <gbarnett@apple.com>
2024-11-22 09:41:38 +00:00
..
2024-09-12 13:18:25 +01:00
2024-10-19 09:25:51 +00:00