#pipe #synchronous #anonymous #mio #buffer #evented

mio-anonymous-pipes

Asynchronous wrapper for windows synchronous pipes

2 unstable releases

0.2.0 Jul 10, 2021
0.1.0 Dec 8, 2018

#1553 in Asynchronous

Download history 57/week @ 2024-11-13 66/week @ 2024-11-20 71/week @ 2024-11-27 85/week @ 2024-12-04 145/week @ 2024-12-11 86/week @ 2024-12-18 29/week @ 2024-12-25 64/week @ 2025-01-01 75/week @ 2025-01-08 133/week @ 2025-01-15 95/week @ 2025-01-22 63/week @ 2025-01-29 75/week @ 2025-02-05 121/week @ 2025-02-12 59/week @ 2025-02-19 85/week @ 2025-02-26

354 downloads per month

MIT license

15KB
292 lines

mio-anonymous-pipes

Wrapper around windows anonymous pipes (which are synchronous and do not support IOCP) so that they are asynchronous and implement mio::Evented. Achieves this using a temporary buffer and a worker thread to move data from the synchronous pipe into the buffer.

Dependencies

~1.2–1.6MB
~28K SLoC