Skip to content

Commit 6731fa8

Browse files
committed
Create platform specific AsyncIO
- Darwin: based on DispatchIO - Linux: based on epoll - Windows (not included in this commit): based on IOCP with OVERLAPPED
1 parent f15e03d commit 6731fa8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Subprocess/IO/AsyncIO.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ final class AsyncIO: Sendable {
5454
}
5555
}
5656

57+
static let shared: AsyncIO = AsyncIO()
58+
5759
private enum Event {
5860
case read
5961
case write

0 commit comments

Comments
 (0)