Comments (5)
I have forked and modified this ThreadPool for use in log4cplus where I have implemented this functionality. See https://github.com/log4cplus/Threadpool.
I believe the aim of this repository is to provide a starting point thread pool rather than a complete implementation with many features.
from threadpool.
from threadpool.
I have forked and modified this ThreadPool for use in log4cplus where I have implemented this functionality. See https://github.com/log4cplus/Threadpool.
I believe the aim of this repository is to provide a starting point thread pool rather than a complete implementation with many features.
excellent job, man. I get the help in 2022 from you in 2018, maybe that is the charm of Internet.
from threadpool.
@wilx
Could you please add some bit example or comment to understand the usage of
pool.wait_until_empty();
pool.wait_until_nothing_in_flight();
from threadpool.
When you are destroying the object that owns the thread pool, you have to wait until the queue is empty and there are no threads running with the queued items. E.g.,
from threadpool.
Related Issues (20)
- Support for dynamic running threads
- A simple problem about enqueue() HOT 1
- A problem about memory leak HOT 3
- testing if pool is empty HOT 1
- support c++17 and c++20 HOT 1
- How to add a Manager HOT 2
- Differences between dynamic linking and static linking for ThreadPool HOT 1
- std::result_of and std::result_of_t are deprecated in C++17. They are superseded by std::invoke_result and std::invoke_result_t HOT 2
- Unexpected stuck thread HOT 1
- a
- A simple sample of apply this threadpool HOT 1
- support multi-queues ?
- possible deadlock during ~ThreadPool HOT 2
- i don't understand why this demo is ok.... why have lots of ~Test().... HOT 2
- How dose this for loop end? HOT 4
- Problem with passing std::unique_ptr HOT 3
- Memory usage? HOT 1
- Is anyone willing to maintain this for the long term? The author seems to have given up HOT 2
- Compiles normally on Linux but generates core files when running
- What may cause a slowing down after running ThreadPool a few hours? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from threadpool.