Skip to content

asherikov/thread_supervisor

Repository files navigation

CI status Debian package
Build Status Latest version of 'thread-supervisor' @ Cloudsmith

Simple C++17 thread supervisor which automatically restarts failed or finished threads.

Doxygen documentation: https://asherikov.github.io/thread_supervisor/doxygen

Dependencies:

  • C++17 compatible compiler
  • POSIX threads (pthreads)
  • Boost.UTF for tests

Integrate in a cmake project with:

find_package(thread_supervisor REQUIRED)
target_link_libraries(... thread_supervisor::thread_supervisor)

Example: https://asherikov.github.io/thread_supervisor/doxygen/DEMO.html [./test/supervisor.cpp]