Skip to content

YasserAsmi/wstpool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wstpool

Work Stealing Thread Pool, Header Only, C++ Threads

  • Consistent with the C++ async/future programming model.
  • Drop-in replacement for 'async' for using the thread pool.
  • Header only--no dependencies. Just copy the header to your project.
  • Work Stealing, multi-queue
#include "wstpool.h"

wstpool::ThreadPool tp(8);

std::future<...> f = tp.async(...);

f.get();

Build instructions for example:

cd example/
cmake .
make

About

Work Stealing Thread Pool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published