Minimalistic blocking bounded queue in C++
While working on speeding up a Python extension written in C++, I needed a queue to distribute work among threads, and possibly to gather their results. What I had in mind was something akin to Python’s queue module – more specifically: a blocking MPMC queue with fixed capacity; that supports push, try_push, pop, and try_pop; … Continue reading Minimalistic blocking bounded queue in C++
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed