librust-blocking-dev 1.4.0-ok1 (i386 binary) in openkylin huanghe
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,
packaged for use with cargo and dh-cargo.
Details
- Package version:
- 1.4.0-ok1
- Status:
- Published
- Component:
- main
- Priority:
- Optional
Downloadable files
- librust-blocking-dev_1.4.0-ok1_all.deb (15.4 KiB)
Package relationships
- Depends on:
- librust-async-channel-1+default-dev
- librust-async-lock-2+default-dev
- librust-async-task-4+default-dev
- librust-atomic-waker-1+default-dev
- librust-fastrand-dev (<< 3)
- librust-futures-io-0.3+std-dev
- librust-futures-lite-1-dev
- librust-tracing-0.1-dev
- Provides:
- librust-blocking-1+default-dev (= 1.4.0-ok1)
- librust-blocking-1-dev (= 1.4.0-ok1)
- librust-blocking-1.4-dev (= 1.4.0-ok1)
- librust-blocking-1.4.0-dev (= 1.4.0-ok1)