跳转到正文

_windows_stdio API ​

完整接口目录 · 插件运行时用法 · 工具包下载

模块说明 ​

text
Owned synchronous Windows pipes; no Proactor/overlapped-handle assumption.

Each direction has one dedicated thread and at most one outstanding operation.
The single reader peeks before reading, avoiding an idle synchronous read that
can block native extension initialization inspecting the same pipe handle.
Close retries CancelSynchronousIo until the threads exit: cancellation can race
with entry to ReadFile/WriteFile. Never use the shared executor for these calls.

open_pipes ​

python
async def open_pipes(stdin, stdout)

Neomega · 使用、开发与参考文档