All Projects → hoffstadt → mvThreadPool

hoffstadt / mvThreadPool

Licence: MIT license
An easy to use C++ Thread Pool

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to mvThreadPool

ParallelQSlim
Shape Aware Parallel Mesh Simplification Algorithm
Stars: ✭ 84 (+180%)
Mutual labels:  multithreading, thread-pool
Hamsters.js
100% Vanilla Javascript Multithreading & Parallel Execution Library
Stars: ✭ 517 (+1623.33%)
Mutual labels:  multithreading, thread-pool
thread-pool
BS::thread_pool: a fast, lightweight, and easy-to-use C++17 thread pool library
Stars: ✭ 1,043 (+3376.67%)
Mutual labels:  multithreading, thread-pool
Threads.js
🧵 Make web workers & worker threads as simple as a function call.
Stars: ✭ 1,328 (+4326.67%)
Mutual labels:  multithreading, thread-pool
TaskManager
A C++14 Task Manager / Scheduler
Stars: ✭ 81 (+170%)
Mutual labels:  multithreading, thread-pool
Java Concurrency Examples
Java Concurrency/Multithreading Tutorial with Examples for Dummies
Stars: ✭ 173 (+476.67%)
Mutual labels:  multithreading, thread-pool
ThreadPool2
Lightweight, Generic, Pure C++11 ThreadPool
Stars: ✭ 28 (-6.67%)
Mutual labels:  thread-pool
executorservices
Dart executer services.
Stars: ✭ 17 (-43.33%)
Mutual labels:  multithreading
Vqengine
DirectX 11 Renderer written in C++11
Stars: ✭ 250 (+733.33%)
Mutual labels:  multithreading
Ultimatepp
U++ is a C++ cross-platform rapid application development framework focused on programmer's productivity. It includes a set of libraries (GUI, SQL, Network etc.), and integrated development environment (TheIDE).
Stars: ✭ 237 (+690%)
Mutual labels:  multithreading
Simple-Incremental-Search-Tool
Simple web frontend to an elasticsearch database made for local files indexing
Stars: ✭ 19 (-36.67%)
Mutual labels:  multithreading
ipub-messaging
Messaging system for communication between classes / layers in delphi
Stars: ✭ 46 (+53.33%)
Mutual labels:  multithreading
IYFThreading
A C++11 thread pool and profiler
Stars: ✭ 24 (-20%)
Mutual labels:  thread-pool
iocp-delphi
Windows I/O Completion Port wrapper class for Delphi and Free Pascal
Stars: ✭ 47 (+56.67%)
Mutual labels:  multithreading
Thread
type safe multi-threading made easier
Stars: ✭ 34 (+13.33%)
Mutual labels:  multithreading
Yew
Yew is a modern Rust framework for creating multi-threaded front-end web apps with WebAssembly.
Stars: ✭ 18,243 (+60710%)
Mutual labels:  multithreading
chat-app
Multithreading TCP server and client communicating over TCP/IP - Windows Forms Application.
Stars: ✭ 39 (+30%)
Mutual labels:  multithreading
Mongols
C++ high performance networking with TCP/UDP/RESP/HTTP/WebSocket protocols
Stars: ✭ 250 (+733.33%)
Mutual labels:  multithreading
AIO
Coroutine-based multithreading library for Delphi
Stars: ✭ 99 (+230%)
Mutual labels:  multithreading
dynamic-threadpool
📌 强大的动态线程池框架,附带监控报警功能。支持 JDK、Tomcat、Jetty、Undertow 线程池;Dubbo、Dubbox、RabbitMQ、RocketMQ、Hystrix 消费线程池(更多框架线程池还在适配中)。内置两种使用模式:轻量级依赖配置中心以及无中间件依赖版本。
Stars: ✭ 3,609 (+11930%)
Mutual labels:  thread-pool

mvThreadPool

(This library is available under a free and permissive license)

mvThreadPool is a simple to use header only C++ threadpool based on work by Anthony Williams

Usage

To use this library, just include mvThreadPool.h in your project. The basic usage can be seen below:

int main()
{

  // create threadpool
  auto threadpool = Marvel::mvThreadPool();
  
  // submit function
  threadpool->submit(&SomeFunction);
  
  // submit function with arguments
  threadpool->submit(std::bind(&SomeVarFunction, arg1, arg2, ...));
  
  // submit a method
  threadpool->submit(std::bind(&SomeClass::SomeMethod, classInstance, arg1, arg2, ...));
  
}

Features

  • Work Stealing
  • Task Waiting

Notes

  • If the submitted function/method returns a value, the submit method will return a future.
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].