orx-concurrent-iter 3.3.0

A thread-safe and ergonomic concurrent iterator trait and efficient lock-free implementations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub struct ChunkPointers<T> {
    pub begin_idx: usize,
    pub first: *const T,
    pub last: *const T,
}

pub trait ArrayConIter {
    type Item;

    fn progress_and_get_chunk_pointers(
        &self,
        chunk_size: usize,
    ) -> Option<ChunkPointers<Self::Item>>;
}