|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Backward compatibility header for concurrent_queue. More...
#include <kcenon/thread/concurrent/concurrent_queue.h>

Go to the source code of this file.
Macros | |
| #define | KCENON_THREAD_LOCKFREE_QUEUE_H_WARNED 1 |
Backward compatibility header for concurrent_queue.
This header provides backward compatibility for code using the old include path. The implementation has been moved to: include/kcenon/thread/concurrent/concurrent_queue.h
Update your includes from:
To:
And update usage from:
To:
The name "lockfree_queue" was misleading because the implementation uses fine-grained locking (mutexes), not true lock-free algorithms. The rename to "concurrent_queue" accurately describes the thread-safe nature without implying lock-free semantics.
For a true lock-free queue, see lockfree_job_queue which uses the Michael-Scott algorithm with hazard pointers.
Definition in file lockfree_queue.h.
| #define KCENON_THREAD_LOCKFREE_QUEUE_H_WARNED 1 |
Definition at line 53 of file lockfree_queue.h.