全部搜尋項
bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: rust-blocking  ]

套件:librust-blocking-dev(1.3.0-3)

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 15。7 kB75。0 kB [檔案列表]