|
Condy v1.6.0
C++ Asynchronous System Call Layer for Linux
|
Producer-consumer queue example using condy::Futex. More...
#include <atomic>#include <cassert>#include <condy.hpp>#include <cstdio>#include <format>#include <iostream>#include <queue>#include <thread>#include <unistd.h>Go to the source code of this file.
Producer-consumer queue example using condy::Futex.
Synchronization style: mutex + condition variable
Definition in file queue-condy-futex.cpp.