mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-23 22:29:40 +08:00
preconcurrency on libc imports
This commit is contained in:
parent
29995c1a40
commit
5aa9b76e85
Sources/NIOExtras
@ -16,11 +16,11 @@ import NIOCore
|
|||||||
#if canImport(Darwin)
|
#if canImport(Darwin)
|
||||||
import Darwin
|
import Darwin
|
||||||
#elseif canImport(Musl)
|
#elseif canImport(Musl)
|
||||||
import Musl
|
@preconcurrency import Musl
|
||||||
#elseif canImport(Android)
|
#elseif canImport(Android)
|
||||||
import Android
|
@preconcurrency import Android
|
||||||
#else
|
#else
|
||||||
import Glibc
|
@preconcurrency import Glibc
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// `ChannelInboundHandler` that prints all inbound events that pass through the pipeline by default,
|
/// `ChannelInboundHandler` that prints all inbound events that pass through the pipeline by default,
|
||||||
|
@ -17,11 +17,11 @@ import NIOCore
|
|||||||
#if canImport(Darwin)
|
#if canImport(Darwin)
|
||||||
import Darwin
|
import Darwin
|
||||||
#elseif canImport(Musl)
|
#elseif canImport(Musl)
|
||||||
import Musl
|
@preconcurrency import Musl
|
||||||
#elseif canImport(Android)
|
#elseif canImport(Android)
|
||||||
import Android
|
@preconcurrency import Android
|
||||||
#else
|
#else
|
||||||
import Glibc
|
@preconcurrency import Glibc
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// ChannelOutboundHandler that prints all outbound events that pass through the pipeline by default,
|
/// ChannelOutboundHandler that prints all outbound events that pass through the pipeline by default,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user