summaryrefslogtreecommitdiff
path: root/src/common/bounded_threadsafe_queue.h
AgeCommit message (Collapse)Author
2023-03-21bounded_threadsafe_queue: Use simplified impl of bounded queueMorph
Provides a simplified SPSC, MPSC, and MPMC bounded queue implementation using mutexes.
2023-03-17common: bounded_threadsafe_queue: Use polyfill_thread.bunnei
2022-10-22CMakeLists: Disable C4100 and C4324Morph
Disabling C4100 is similar to -Wno-unused-parameter
2022-06-15bounded_threadsafe_queue: Use constexpr capacity and maskMorph
While this is the primary change, we also: - Remove the mpsc namespace and rename Queue to MPSCQueue - Make Slot a private struct within MPSCQueue - Remove the AlignedAllocator template argument, as we use std::allocator - Replace instances of mask + 1 with capacity, and mask + 2 with capacity + 1
2022-06-02gpu_thread: Move to bounded queueLevi Behunin