#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

#1521 in Asynchronous

Download history 155/week @ 2024-08-26 129/week @ 2024-09-02 110/week @ 2024-09-09 122/week @ 2024-09-16 153/week @ 2024-09-23 126/week @ 2024-09-30 88/week @ 2024-10-07 71/week @ 2024-10-14 59/week @ 2024-10-21 81/week @ 2024-10-28 70/week @ 2024-11-04 53/week @ 2024-11-11 57/week @ 2024-11-18 78/week @ 2024-11-25 75/week @ 2024-12-02 132/week @ 2024-12-09

357 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