swift-nio/Sources/NIOCore
Rick Newton-Rogers 5f5fa9a2b2
mark syncShutdownGracefully noasync (#2381)
mark syncShutdownGracefully noasync

Motivation:

The code as-is blocks the calling thread.

Modifications:

* mark `EventLoopGroup.syncShutdownGracefully()` and `NIOThreadPool.syncShutdownGracefully()` noasync on Swift > 5.7
* offer NIOThreadPool.shutdownGracefully()
* add renamed to syncShutdownGracefully()
2023-03-02 06:20:23 -08:00
..
AsyncSequences NIOAsyncWriter: Provide a fast path for single element writes (#2365) 2023-02-10 15:16:41 +00:00
AddressedEnvelope.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
AsyncAwaitSupport.swift add easier async to future conversion (#2334) 2022-12-19 11:05:47 +00:00
BSDSocketAPI.swift Add support for UDP_SEGMENT (#2372) 2023-02-27 13:18:58 +00:00
ByteBuffer-aux.swift Make all ByteBuffer methods inlinable (#2050) 2022-02-21 03:38:38 -08:00
ByteBuffer-conversions.swift Make all ByteBuffer methods inlinable (#2050) 2022-02-21 03:38:38 -08:00
ByteBuffer-core.swift Remove implicit ByteBuffer copy in copyMemory (#2330) 2022-12-12 11:58:23 +00:00
ByteBuffer-int.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
ByteBuffer-lengthPrefix.swift [ByteBuffer] Reduce ARC traffic when reading (#1978) 2021-10-21 16:57:25 +02:00
ByteBuffer-multi-int.swift ByteBuffer: provide multi read/write int methods (#1987) 2021-11-22 14:58:52 +00:00
ByteBuffer-views.swift add witnesses for ByteBufferView.reserveCapacity(_:), append(_:), and append(contentsOf:) (#2309) 2022-11-14 10:01:25 +00:00
Channel.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
ChannelHandler.swift Move Channel abstractions to NIOCore. (#1920) 2021-08-02 12:39:28 +01:00
ChannelHandlers.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
ChannelInvoker.swift Use #fileID/#filePath instead of #file (#2306) 2022-11-03 16:43:13 +00:00
ChannelOption.swift Add support for UDP_SEGMENT (#2372) 2023-02-27 13:18:58 +00:00
ChannelPipeline.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
CircularBuffer.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
Codec.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
ConvenienceOptionSupport.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
DeadChannel.swift Move Channel abstractions to NIOCore. (#1920) 2021-08-02 12:39:28 +01:00
DispatchQueue+WithFuture.swift Fixed some typos (#2051) 2022-02-22 01:37:47 -08:00
EventLoop+Deprecated.swift Use #fileID/#filePath instead of #file (#2306) 2022-11-03 16:43:13 +00:00
EventLoop.swift mark syncShutdownGracefully noasync (#2381) 2023-03-02 06:20:23 -08:00
EventLoopFuture+Deprecated.swift Use #fileID/#filePath instead of #file (#2306) 2022-11-03 16:43:13 +00:00
EventLoopFuture+WithEventLoop.swift Adopt `Sendable` for `EventLoopFuture` and `EventLoopPromise` (#2107) 2022-05-30 11:35:23 +01:00
EventLoopFuture.swift Special case EventLoopPromise.succeed() when Value is Void (#2311) 2023-01-19 09:06:07 -08:00
FileDescriptor.swift Move Channel abstractions to NIOCore. (#1920) 2021-08-02 12:39:28 +01:00
FileHandle.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
FileRegion.swift Mark types explicitly non sendable (#2290) 2022-10-13 13:21:28 +01:00
IO.swift NIOCore: handle error description on Windows (#2219) 2022-07-07 13:07:34 +01:00
IOData.swift Mark types explicitly non sendable (#2290) 2022-10-13 13:21:28 +01:00
IPProtocol.swift Add `NIOBSDSocket.ProtocolSubtype` (#2317) 2022-11-22 06:01:52 -08:00
IntegerBitPacking.swift Extract basic data structures to NIOCore. (#1895) 2021-07-14 09:58:25 +01:00
IntegerTypes.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
Interfaces.swift Remove `#if compiler(>=5.5)` (#2292) 2022-10-13 07:17:46 -07:00
Linux.swift Move MulticastChannel and NIONetworkDevice to NIOCore (#1931) 2021-08-06 13:42:29 +01:00
MarkedCircularBuffer.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
MulticastChannel.swift Move MulticastChannel and NIONetworkDevice to NIOCore (#1931) 2021-08-06 13:42:29 +01:00
NIOAny.swift Mark types explicitly non sendable (#2290) 2022-10-13 13:21:28 +01:00
NIOCloseOnErrorHandler.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
NIOLoopBound.swift OnLoopSendable: Sendable containers if on EventLoop (#2370) 2023-02-27 07:11:37 -08:00
NIOSendable.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
PointerHelpers.swift Extract basic data structures to NIOCore. (#1895) 2021-07-14 09:58:25 +01:00
RecvByteBufferAllocator.swift Add a pooled recv buffer allocator (#2362) 2023-02-20 17:00:19 +00:00
SingleStepByteToMessageDecoder.swift Adopt `Sendable` in `Codec.swift` and `SingleStepByteToMessageDecoder.swift` (#2149) 2022-06-01 08:24:21 -07:00
SocketAddresses.swift Replace `NIOSendable` with `Sendable` (#2291) 2022-10-13 15:56:27 +01:00
SocketOptionProvider.swift MPTCP support on Linux (#2308) 2022-11-09 11:02:45 +00:00
SystemCallHelpers.swift NIOCore: adjust system call helpers for Windows (#2155) 2022-06-07 06:08:32 -07:00
TimeAmount+Duration.swift Move 5.7 beta APIs to NIOCore (#2300) 2022-10-25 15:38:47 +01:00
TypeAssistedChannelHandler.swift Move Channel abstractions to NIOCore. (#1920) 2021-08-02 12:39:28 +01:00
UniversalBootstrapSupport.swift Adopt `Sendable` for Bootstraps (#2209) 2022-07-01 03:45:07 -07:00
Utilities.swift Add support for UDP_SEGMENT (#2372) 2023-02-27 13:18:58 +00:00