This commit is contained in:
Jaremy Creechley 2024-02-02 17:14:58 +02:00
parent d8828f8989
commit 53fc17da7b
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -5,4 +5,16 @@
WIP utilities for using Chronos async with threading. The desire is to provide safe, pre-tested constructs for using threads with async.
Goal is to support orc and refc, however, refc requires extra copying for data like strings.
Goals:
- support orc and refc
+ refc may require extra copying for data
- use event queues (e.g. channels) to/from thread pool
+ make it easy to monitor and debug queue capacity
+ only use minimal AsyncFD handles
+ lessen pressure on the main chronos futures pending queue
- support backpressure at futures level
- benchmarking overhead
- special support for seq[byte]'s and strings with zero-copy
+ implement special but limited support zero-copy arguments on refc