lqhl / threadpool11

A fork that replaces boost::lockfree:queue with moodycamel::ConcurrentQueue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

threadpool11 threadpool11

A fast, lock-free, cross-platform, full CPU utilizing thread pool implementation using C++11 features.

You can find the dead simple API documentation on header comments.

This project was initially developed in just a few hours of free time as I could not find a simple lightweight thread pooling library for my needs.

This project is licensed under:

LGPLv3

2.0 is available on AUR.

##threadpool11 performance compared to OpenMP

Here is a result of OpenMP demo found in the tree.

Your machine's hardware concurrency is 8

threadpool11 execution took 16953 milliseconds.

openmp execution took 25103 milliseconds.

gcc -v gcc version 4.9.2 (GCC)

Testing code can be found in project tree.

I will be glad to hear about the suggestions/ideas you have about the project, via the issue reporting section.

All non '-dev' branches are safe to use but prefer the latest version.

About

A fork that replaces boost::lockfree:queue with moodycamel::ConcurrentQueue

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 96.0%Language:C 3.5%Language:Assembly 0.4%Language:Makefile 0.1%Language:Batchfile 0.0%Language:CMake 0.0%Language:Python 0.0%Language:Shell 0.0%Language:Objective-C++ 0.0%