всички настройки
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

  • зависимости
  • препоръчани
  • предложени
  • enhances

Изтегляне на librust-blocking-dev

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 17,0 кБ78,0 кБ [списък на файловете]