Skip to content

ea-oskolkov/ThreadPoolXX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThreadPoolXX

Overview

Library providing a thread pool.

Mode support:

  • allocate everything at once;
  • incremental allocate.

Build

In the source code directory run:

  • mkdir -p build && pushd build

  • for static lib: cmake -S ../

  • for shared lib: cmake -S ../ -BUILD_SHARED_LIBS:BOOL=true

  • make --build .

  • popd

Usage:

    ThreadPool thread_pool(10, 2);
    thread_pool.enqueue([&]{do_work();});

LICENSE

This software is distributed under MIT license.

About

Library implementing thread pool.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published