swift-nio/Sources
Cory Benfield 8423040a9b
Mildly rework the NIOLock storage (#2395)
Motivation:

NIOLock uses a storage object constructed from a ManagedBuffer. In
general this is fine, but it's a tricky API to use safely and we want to
avoid violating any of its guarantees.

Modifications:

- Store the value in the header and the lock in the elements
- Add debug assertions on alignment

Result:

We'll be a bit more confident of the use of NIOLock
2023-03-27 16:37:09 +01:00
..
CNIOAtomics CNIOAtomics: define types for `uintptr_t` and `intptr_t` (#1401) 2020-02-26 17:07:39 +00:00
CNIODarwin Correctly include netinet/in.h (#2315) 2022-11-15 01:58:25 -08:00
CNIOLLHTTP Update HTTP parser to LLHTTP (#2263) 2022-09-13 14:09:57 +01:00
CNIOLinux Allow UDP GRO tests to fail in some circumstances (#2387) 2023-03-13 11:12:06 +00:00
CNIOSHA1 Final language fix (#1732) 2021-01-22 18:39:10 +00:00
CNIOWindows NIO: extract control message handling into a separate protocol (#1678) 2020-10-19 16:18:57 +01:00
NIO initial adoption of DocC based documentaiton (#2235) 2022-08-08 03:55:18 -07:00
NIOAsyncAwaitDemo Remove `#if compiler(>=5.5)` (#2292) 2022-10-13 07:17:46 -07:00
NIOChatClient Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOChatServer Remove `#if compiler(>=5.5)` (#2292) 2022-10-13 07:17:46 -07:00
NIOConcurrencyHelpers Mildly rework the NIOLock storage (#2395) 2023-03-27 16:37:09 +01:00
NIOCore Add support for UDP_GRO (#2385) 2023-03-06 07:12:09 -08:00
NIOCrashTester OnLoopSendable: Sendable containers if on EventLoop (#2370) 2023-02-27 07:11:37 -08:00
NIOEchoClient Allow NIOEchoClient to receive fragmented echo responses. (#2041) 2022-02-07 01:35:16 -08:00
NIOEchoServer Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOEmbedded Implement `remoteAddress0` and `localAddress0` on `EmbeddedChannel` (#2345) 2023-01-12 02:55:18 -08:00
NIOFoundationCompat Add utilties for reading and writing UUIDs (#2045) 2022-10-31 06:25:28 -07:00
NIOHTTP1 Don't unconditionally remove the HTTPServerUpgradeHandler (#2303) 2022-10-28 07:32:43 -07:00
NIOHTTP1Client Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOHTTP1Server Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOMulticastChat Adopt `Sendable` for `NIOChatServer` and `MIOMuliticastChat` examples (#2220) 2022-07-06 16:30:24 +01:00
NIOPerformanceTester Building swift-nio with Swift 5.7 for iOS using Xcode 14.0 at 2.48.0. (#2369) 2023-02-17 10:05:43 -08:00
NIOPosix Buffer pool for message headers and addresses. (#2378) 2023-03-10 16:06:02 +00:00
NIOTLS Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
NIOTestUtils Make `NIOHTTP1TestServer` Sendable (#2318) 2022-11-17 17:40:15 +00:00
NIOUDPEchoClient Fix typo in the name of a constant (#2262) 2022-09-04 10:23:54 -07:00
NIOUDPEchoServer Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOWebSocket Add missing `Sendable` requirements (#2305) 2022-11-03 14:41:42 +01:00
NIOWebSocketClient Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
NIOWebSocketServer Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
_NIOConcurrency Readd module _NIOConcurrency to not break adopters (#1970) 2021-09-23 16:50:53 +02:00
_NIODataStructures Remove `#if compiler(>=5.5)` (#2292) 2022-10-13 07:17:46 -07:00