GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - log4cplus/ThreadPool: A simple C++11 Thread Pool implementation

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

76 Commits
76 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
tests
tests
 
 
COPYING
COPYING
 
 
README.md
README.md
 
 
ThreadPool.h
ThreadPool.h
 
 
example.cpp
example.cpp
 
 

Repository files navigation

ThreadPool

A simple C++11 Thread Pool implementation.

Build and run the cross-platform regression suite with CMake and CTest; see the test documentation for commands and the CI compiler matrix.

Basic usage:

// create thread pool with 4 worker threads
ThreadPool pool(4);

// enqueue and store future
auto result = pool.enqueue([](int answer) { return answer; }, 42);

// get result from future
std::cout << result.get() << std::endl;

About

A simple C++11 Thread Pool implementation

Resources

Readme
License
Activity
Custom properties

Stars

125 stars

Watchers

6 watching

Forks

59 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.