All Projects → tghosgor → Threadpool11

tghosgor / Threadpool11

Licence: lgpl-2.1
A fast, lock-free, cross-platform C++11 thread pool library that is aiming to be lightweight and simple.

Programming Languages

cpp11
221 projects

Labels

Projects that are alternatives of or similar to Threadpool11

Tutorials
机器学习相关教程
Stars: ✭ 9,616 (+3824.9%)
Mutual labels:  threading
Physac
2D physics header-only library for videogames developed in C using raylib library.
Stars: ✭ 151 (-38.37%)
Mutual labels:  threading
Dlib
Allocators, I/O streams, math, geometry, image and audio processing for D
Stars: ✭ 182 (-25.71%)
Mutual labels:  threading
Python Examples
Python examples from my answers on Stackoverflow and other short scripts.
Stars: ✭ 101 (-58.78%)
Mutual labels:  threading
Threadboat
Program Uses Thread Execution Hijacking To Inject Native Shell-code Into a Standard Win32 Application
Stars: ✭ 132 (-46.12%)
Mutual labels:  threading
Mcmap
Pixel-art map visualizer for Minecraft. Maps are drawn from an isometric perspective.
Stars: ✭ 165 (-32.65%)
Mutual labels:  threading
Likwid
Performance monitoring and benchmarking suite
Stars: ✭ 957 (+290.61%)
Mutual labels:  threading
Joblib
Computing with Python functions.
Stars: ✭ 2,620 (+969.39%)
Mutual labels:  threading
Floyd
The Floyd programming language
Stars: ✭ 133 (-45.71%)
Mutual labels:  threading
React Native Multithreading
🧵 Fast and easy multithreading for React Native using JSI
Stars: ✭ 164 (-33.06%)
Mutual labels:  threading
Tweet Locator
Tweet locator using Python, Flask and Twitter API
Stars: ✭ 105 (-57.14%)
Mutual labels:  threading
Agency
Execution primitives for C++
Stars: ✭ 127 (-48.16%)
Mutual labels:  threading
Pht
A new threading extension for PHP
Stars: ✭ 175 (-28.57%)
Mutual labels:  threading
Porcupine
Threading, Resiliency and Monitoring for Java EE 7/8
Stars: ✭ 99 (-59.59%)
Mutual labels:  threading
Fooproxy
稳健高效的评分制-针对性- IP代理池 + API服务,可以自己插入采集器进行代理IP的爬取,针对你的爬虫的一个或多个目标网站分别生成有效的IP代理数据库,支持MongoDB 4.0 使用 Python3.7(Scored IP proxy pool ,customise proxy data crawler can be added anytime)
Stars: ✭ 195 (-20.41%)
Mutual labels:  threading
Multitasking
Non-blocking Python methods using decorators
Stars: ✭ 87 (-64.49%)
Mutual labels:  threading
Microjob
A tiny wrapper for turning Node.js worker threads into easy-to-use routines for heavy CPU loads.
Stars: ✭ 1,985 (+710.2%)
Mutual labels:  threading
Codejam
Set of handy reusable .NET components that can simplify your daily work and save your time when you copy and paste your favorite helper methods and classes from one project to another
Stars: ✭ 217 (-11.43%)
Mutual labels:  threading
Threadly
A library of tools to assist with safe concurrent java development. Providing unique priority based thread pools, and ways to distrbute threaded work safely.
Stars: ✭ 196 (-20%)
Mutual labels:  threading
Arachne
Core aware thread management system
Stars: ✭ 177 (-27.76%)
Mutual labels:  threading

threadpool11 threadpool11

A fast, almost 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.

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 22704 milliseconds.

threadpool11 (no future) execution took 21198 milliseconds.

openmp execution took 21663 milliseconds.

openmp execution (dynamic schedule) took 21335 milliseconds.

gcc -v gcc version 8.2.1 20181127 (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.

Building & Installing

As a Static Library

% mkdir -p build
% cd build
% cmake ..
% make
% make test
% make install

As a Shared Library

% mkdir -p build
% cd build
% cmake -DBUILD_SHARED_LIBS:BOOL=ON ..
% make
% make test
% make install
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].