all options
bookworm  ] [  trixie  ] [  sid  ]
[ Source: rust-blocking  ]

Package: librust-blocking-dev (1.3.0-3)

Links for librust-blocking-dev

Screenshot

Debian Resources:

Download Source Package rust-blocking:

Maintainer:

External Resources:

Similar packages:

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.

Other Packages Related to librust-blocking-dev

  • depends
  • recommends
  • suggests
  • enhances

Download librust-blocking-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 15.7 kB75.0 kB [list of files]