全部搜索项
bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: rust-blocking  ]

软件包:librust-blocking-dev(1.4.0-1)

librust-blocking-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包 rust-blocking

维护者:

外部的资源:

相似软件包:

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, packaged for use with cargo and dh-cargo.

其他与 librust-blocking-dev 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 librust-blocking-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 17.0 kB78.0 kB [文件列表]