pool

Crates.iopool
lib.rspool
version0.1.4
sourcesrc
created_at2015-04-10 07:33:08.581003
updated_at2017-01-13 17:54:50.821941
descriptionA pool of reusable values
homepagehttps://github.com/carllerche/pool
repositoryhttps://github.com/carllerche/pool
max_upload_size
id1830
size13,743
Team algorithmia (github:algorithmiaio:team-algorithmia)

documentation

https://carllerche.github.io/pool/pool

README

A pool of reusable values

A Rust library providing a pool structure for managing reusable values. All values in the pool are initialized when the pool is created. Values can be checked out from the pool at any time. When the checked out value goes out of scope, the value is returned to the pool and made available for checkout at a later time.

Build Status

Usage

To use pool, first add this to your Cargo.toml:

[dependencies]
pool = "0.1.3"

Then, add this to your crate root:

extern crate pool;

Features

  • Simple
  • Lock-free: values can be returned to the pool across threads
  • Stores typed values and / or slabs of memory
Commit count: 18

cargo fmt