toutes les options
bookworm  ] [  trixie  ] [  sid  ]
[ Paquet source : rust-blocking  ]

Paquet : librust-blocking-dev (1.4.0-1)

Liens pour librust-blocking-dev

Screenshot

Ressources Debian :

Télécharger le paquet source rust-blocking :

Responsable :

Ressources externes :

Paquets similaires :

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.

Autres paquets associés à librust-blocking-dev

  • dépendances
  • recommandations
  • suggestions
  • enhances

Télécharger librust-blocking-dev

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 17,0 ko78,0 ko [liste des fichiers]