squeue/include/array_lock_free_queue.h
@@ -1,9 +1,9 @@ #ifndef __LOCK_FREE_QUEUE_IMPL_MULTIPLE_PRODUCER_H__ #define __LOCK_FREE_QUEUE_IMPL_MULTIPLE_PRODUCER_H__ #ifndef __ARRAY_LOCK_FREE_QUEUE_IMPL_MULTIPLE_PRODUCER_H__ #define __ARRAY_LOCK_FREE_QUEUE_IMPL_MULTIPLE_PRODUCER_H__ #include <assert.h> // assert() #include <sched.h> // sched_yield() #include "logger_factory.h" /// @brief implementation of an array based lock free queue with support for /// multiple producers