This commit replaces previous C-based pcqueue with a modern PCQueue class to improve resource management and maintainability. This refactor transitions from C-style manual memory management to smart pointers and modern C++ synchronization primitives like std::condition_variable and std::mutex to ensure thread-safe concurrent access.
This commit replaces previous C-based pcqueue with a modern PCQueue class to improve resource management and maintainability. This refactor transitions from C-style manual memory management to smart pointers and modern C++ synchronization primitives like
std::condition_variable
andstd::mutex
to ensure thread-safe concurrent access.