Created crude diagram for socket buffer pipelining tasks and communication with network and user.

Fortune for rsh's current commit: Great curse − 大凶
pipelined-socket-buffering
Avril 3 years ago
parent 271e861169
commit 30522ec96f
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -0,0 +1 @@
<mxfile host="app.diagrams.net" modified="2021-08-19T19:47:34.219Z" agent="5.0 (X11)" etag="m3W9Xk7ZdncWV_dDKnck" version="14.9.8" type="device"><diagram id="yzWLK1SvWkPlnieqc2aE" name="Page-1">7V1bc5u6Fv41nt0+xAPC3B7T1NntpG06djptz8sZxZYNJxh8MMTJ/vVbEoibRCzfkJ10ptMYcZGQ1vrWt5aWRM+4Wjz9HcOl9zWaoqAHtOlTz/jYA0C3TBf/ISXPWQnQDCcrmcf+NL+qLBj7/6C8UMtLU3+KVrULkygKEn9ZL5xEYYgmSa0MxnG0rl82i4J6rUs4R1zBeAIDvvSnP028rNQBdln+Cflzj9WsW/kbLyC7OH+TlQen0bpSZAx7xlUcRUn2a/F0hQLSe6xfsvuuW84WDYtRmMjc8Pnr//2bzzex+xz88pK///vF/PGfC/aYRxik+RvnrU2eWRegKe6R/DCKEy+aRyEMhmXphzhKwyki9Wj4qLzmSxQtcaGOC/+HkuQ5H16YJhEu8pJFkJ/N6iQVtb5cXrSK0niCXngjJiQwnqPkhevcYgiw8KJogZL4Gd8XowAm/mO9HTAXonlxXdnP+Efe1Vt0O9/rP0ef74YjXHZ3Ob7pASvAbf9wH+Nf84R2UFYy9R9Z0Y8Vwqe1dewnWEGIWhD5hg+Ijl6M4KIHrsgFnj/xSIPIRR4MpwEeKfwLxajfXhF+rUpdgupv1yGt1SP1Dce3Vzd/rVhzaEXBrF7/GiNEeUcM1/j/KE2WaUKHdfKAki3a05DRUgKJOOEqEzReQioopN66tM38ILiKgiim9xpTiJzZBJfjXoseUOWMNXHQ/ayo7xHFCXp6WUJ5iSqwMMeBHAnN/HBdoorOoMKrIspAO5IQOkpUHT35ya/K79/kUX0zP/r4lD+ZHjznBweEByAJD5ajE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jLMurlTHitxXp0tdAaSwqrWXXAtFf0sjEht2AV612nImhng8xbKDdQOHKWSFoC9ufZ+mic1i80vimJJpfS+vvS0y3WVO9HksHwdxSxGlRyxLI0s519rnxbFZVYrjTvnLdhxyqZ7T7cRoDZlQfdorq5rKNX9nVIQ+vVo9AbdP6Q6y5IPtb6NI9jVu+bbkH3afVibxTlBp0bntg8SxIU61hYRRRFMKzOQIp1KF4cZl9LoeNGjq02H42jyQGbiPpHZabraNPEgQUn2FQ3Ijxj7Bk62o34lDbf2oQCyYdQ7rgpgwQUZUtqej+kyQE/j/LH5mazFlrbFHLnw7a4lG137IAprdK1lW7WlGfDseokuqBPuCyBw0ovNV/b9/gc+LL8rlEWrys8zGcN/AQ==</diagram></mxfile>

@ -38,7 +38,7 @@ where W: AsyncWrite + Unpin + Send + 'static,
/// Create a new buffered ESock pipe with a specific buffer size
pub fn with_size(tx: W, rx: R, bufsz: usize) -> Self
{
//TODO: Spawn read+write buffer tasks
Self {
bufsz,
_backing: PhantomData,

Loading…
Cancel
Save