Crate rustpool

Source
Expand description

A data and thread pool library for Rust

Structs§

AtomicCircularBuffer
A fixed size thread safe and lock-free circular buffer. Objects in the buffer are owned by the buffer and their memory will only be release when the buffer is dropped
AtomicQueue
A thread safe, lock-free atomic queue. Objects are added to the queue via a closure and are owned by the queue as well This means objects in the queue will only be dropped when the queue’s backing buffer is also destroyed.
BlockingQueue
A thread safe blocking queue. Objects are added to the queue via a closure and are owned by the queue as well This means objects in the queue will only be dropped when the queue’s backing buffer is also destroyed.
CircularBuffer
A static FIFO circular buffer. Objects in the buffer are owned by the buffer and their memory will only be release when the buffer is dropped
ObjectPoolBuilder
The Builder for different types of object pools
ThreadPool
A NUMA aware thread pool
ThreadPoolBuilder

Traits§

RPQueue
RPQueue trait for pool queues