Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

workerthread

CMake CodeQL

A small library to manage small helper threads.

Usage

if(!ThreadPool::isCreated());
   ThreadPool::createInstance();
    
auto res = ThreadPool::getInstance().add([]()
            {
                return 40 + 2;
            });
std::println("Result is {}", res.get());

You can change the amount of threads

ThreadPool::createInstance(64);

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages