Skip to content
This repository has been archived by the owner on Mar 20, 2022. It is now read-only.
/ TaskPool Public archive

TaskPool is able to run multiple tasks multithreaded

Notifications You must be signed in to change notification settings

awwdev/TaskPool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TaskPool

When you want to reuse threads (reassign tasks), what is your approach?

Here is an experimental TaskPool

  • TaskPool will create a thread per task
  • The task can be reassigned or stay empty
  • Currently the size is fixed at init time (vector stability, mv and copy ctor)
  • RAII (it will dispose itself correctly)
  • It's possible to add any type of function / task (when you implement a new fn signature add method)
  • A repetition count can be set for a task
  • Force stop of the tasks is possible

About

TaskPool is able to run multiple tasks multithreaded

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages