#pipe #synchronous #anonymous #mio #wrapper #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

#1716 in Asynchronous

Download history 1476/week @ 2023-11-23 1467/week @ 2023-11-30 1555/week @ 2023-12-07 1326/week @ 2023-12-14 763/week @ 2023-12-21 746/week @ 2023-12-28 1096/week @ 2024-01-04 831/week @ 2024-01-11 788/week @ 2024-01-18 651/week @ 2024-01-25 756/week @ 2024-02-01 261/week @ 2024-02-08 146/week @ 2024-02-15 140/week @ 2024-02-22 156/week @ 2024-02-29 118/week @ 2024-03-07

596 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