about
11/15/2022
RustBlockingQueue Repository
RustBlockingQueue Repository
Communicate between threads with a shared blocking queue
Quick Status
Concept:
Design:
-
new() -> Self Create newBlockingQueue which is empty. -
en_q(&self, t: T) -> Result<()>()> Push_back t onto internal VecDec<T>. -
de_q(&self) -> Result<T> Pop_front t from internal VecDec<T>. -
len(&self) -> usize Return number of elements stored in queue.