快速多生产,多消费无锁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.
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!