快速多生產,多消費無鎖C++ 11的并發隊列:concurrentqueue
快速多生產,多消費無鎖C++ 11的并發隊列:concurrentqueue。
Features
- Knock-your-socks-off blazing fast performance.
- Single-header implementation. Just drop it in your project.
- General-purpose lock-free queue. Can be used concurrently from any number of threads.
- C++11 implementation -- elements are moved (instead of copied) where possible.
- Templated, obviating the need to deal exclusively with pointers -- memory is managed for you.
- No limitations in terms of the type or quantity of elements that can be put in the queue.
- Memory can be allocated once up-front, or dynamically as needed.
- Fully portable (no assembly; all is done through the standard C++11 primitives).
- Supports super-fast bulk operations.
- Exception safe. </ul>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!