[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1014240: ITP: rust-blocking -- thread pool for isolating blocking I/O



Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard <dr@jones.dk>
X-Debbugs-Cc: debian-devel@lists.debian.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

* Package name    : rust-blocking
  Version         : 1.2.0
  Upstream Author : Stjepan Glavina <stjepang@gmail.com>
* URL             : https://github.com/smol-rs/blocking
* License         : Apache-2.0 or Expat
  Programming Lang: Rust
  Description     : thread pool for isolating blocking I/O

 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 is needed by rust-smol.
It will be maintained in the Debian section of Salsa, here:
<https://salsa.debian.org/debian/rust-blocking>.

 - Jonas

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmLAb2IACgkQLHwxRsGg
ASHX8A//cGhAS/3IgbxdgH+oyoa4L8f7TquCfmQYUwFiTq2oaxXx9g3OzLDx2Rqb
jpk1zumc0mMDN2Vzx5M1lFhGmK7y4evN2903+Rj8sCvEsjaUczbxFE9CZn29lUCu
GugnZ3cBg4ru1NP7Gdnx1riGsH7RNlOAlK8kuD/lcJMtzdWY01FVHsa71UWCtM50
m9TbWKrl0EdvaSOrjwHPKhIH+VPdQyrQB1h3iaZFJ+mD8+V88+BvI5Xa5NqHrR4B
+UQ6pp/iJUJSxi7H2FR2evsC+AA4awAeyVIpwOboS0L9SjDmFkZxxBabPtgvbHIj
hBaNKaECTTsQY9C9cMge71BYKrWC2+diwPlzSzY5Jzsy9LIJ5LYzX+DLiNa34Y28
2uLJELmt9Ic6GpRakUE/2gVmUW4+Ht5YEbK5b4PXSc7zG907ljgHiLBu22B8W/MZ
C/rDb2pLEtCU3JKjcdzCWQaGqDLp4YXZlN9EjHioNFTvm9YXUPDJ3DtQD81etisn
jQNs29ettgmgLATHqYrJ8h4H3kguosEEOybWUjNR35Ae2bpA6yumm90oKbUlx3mm
DnYTYWP7PHZ309XOjH6dXvAnwZLUgGGCS4I2rqB2DLq0y6j6Ym7tLb4J7LnicwnM
bDbM/pAUMoKe3LEcm+NmWaKsyUugR5RwO+FaVxdHNJ3bEC7cNm4=
=DSrX
-----END PGP SIGNATURE-----


Reply to: