Binary package “librust-blocking-dev” in openkylin huanghe
thread pool for isolating blocking I/O - Rust source code
blocking provides a thread pool
for isolating blocking I/O in async programs.
.
Sometimes there's no way to avoid blocking I/O.
Consider files or stdin,
which have weak asyncronous support on modern operating systems.
While IOCP, AIO, and io_uring are possible solutions,
they're not always available or ideal.
.
Since blocking is not allowed inside futures,
we must move blocking I/O onto a special thread pool
provided by this crate.
The pool dynamically spawns and stops threads
depending on the current number of running I/O jobs.
.
This package contains the source
for the Rust blocking crate,
for use with cargo.
Source package
Published versions
- librust-blocking-dev 1.4.0-ok1 in amd64 (Proposed)
- librust-blocking-dev 1.4.0-ok1 in amd64 (Release)
- librust-blocking-dev 1.6.2-ok1 in amd64 (Proposed)
- librust-blocking-dev 1.4.0-ok1 in arm64 (Proposed)
- librust-blocking-dev 1.4.0-ok1 in arm64 (Release)
- librust-blocking-dev 1.6.2-ok1 in arm64 (Proposed)
- librust-blocking-dev 1.4.0-ok1 in i386 (Proposed)
- librust-blocking-dev 1.4.0-ok1 in i386 (Release)
- librust-blocking-dev 1.6.2-ok1 in i386 (Proposed)
- librust-blocking-dev 1.4.0-ok1 in loong64 (Proposed)
- librust-blocking-dev 1.4.0-ok1 in loong64 (Release)
- librust-blocking-dev 1.6.2-ok1 in loong64 (Proposed)
- librust-blocking-dev 1.4.0-ok1 in riscv64 (Proposed)
- librust-blocking-dev 1.4.0-ok1 in riscv64 (Release)
- librust-blocking-dev 1.6.2-ok1 in riscv64 (Proposed)
- librust-blocking-dev 1.4.0-ok1 in rv64g (Proposed)
- librust-blocking-dev 1.4.0-ok1 in rv64g (Release)
- librust-blocking-dev 1.6.2-ok1 in rv64g (Proposed)