YaQThreadPool
Yet another QThreadPool
Install / Use
/learn @ociotec/YaQThreadPoolREADME
yaQThreadPool
Yet another Qt thread pool.
Purpose
This is a Qt library to extend Qt capabilities about threads pool.
Why another thread pool? Qt allows to create pool of threads of objects that run once and then stop. This is ok for a lot of scenarios, but if you want your objects to live more time that a single shot, this is your library.
Prerequisites
You can build your self, in this case you need:
- cmake
- Qt
If you have docker, you're done.
Build & run tests
Manual way
mkdir build
cd build
cmake ..
make -j
GTEST_COLOR=1 ./tests/test-yatp
Docker way
Just run this to build & run tests:
./build.sh
This will use docker image docker-qt-builder (GitHub) as builder.
