Block a user
librust-blocking-dev (1.6.1-6)
Published 2025-03-09 16:14:26 +00:00 by jon
Installation
sudo curl -o /etc/apt/keyrings/gitea-jon.asc
echo "deb [signed-by=/etc/apt/keyrings/gitea-jon.asc] $distribution $component" | sudo tee -a /etc/apt/sources.list.d/gitea.list
sudo apt updateChoose $distribution and $component from the list below.
sudo apt install librust-blocking-dev=1.6.1-6
Repository Info
Distributions |
noble |
Components |
universe |
Architectures |
all |
About this package
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.
Dependencies
| librust-async-channel-2+default-dev |
| librust-async-task-4+default-dev |
| librust-atomic-waker-1+default-dev |
| librust-fastrand-2+default-dev |
| librust-futures-io-0.3+std-dev |
| librust-futures-lite-2-dev |
| librust-tracing-0.1-dev |