Skip to content

Nuroferatu/TaskManLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaskManLib

Next steps / ideas:

  • threadWorker - moved to own class, that is passed 'instead of' or 'next to' TaskMan at thread construction
  • keep track of execution time of each ITask by worker - stats and/or stuck thread control
  • Better lifecycle control of ITask (sample now lakes memory after being executed)
  • Resuable ITask - that after execution is added to end of queue
  • Delayed ITask - that will be executed after some timestamp
  • Priority HIGH/LOW when adding ITask to queue (HIGH push_front / LOW push_back)
  • TaskMan - onUpdate method, that will check (and if needed restart) blocked workers (requires some R&D)
  • TaskMan - onUpdate method to execute pre/post methods.
  • Task execution callback - for example per ITask listener that may/maynot be attached to task
  • Add Doxygen and document TaskMan

About

Very simple async task pool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages