Initial version

This commit is contained in:
Alexander Kobjolke 2022-02-26 00:23:43 +01:00
commit 04b878f078
28 changed files with 1771 additions and 0 deletions

View file

@ -0,0 +1,15 @@
#ifndef PROCESS_LIBPROCESS_INCLUDE_STATE_EXTENSIONS_HPP
#define PROCESS_LIBPROCESS_INCLUDE_STATE_EXTENSIONS_HPP
#include <process_status.hpp>
namespace process::controller::extensions {
inline static bool is_running(const ProcessState state)
{
return ((state == ProcessState::RUNNING) || (state == ProcessState::RESTARTED));
}
}
#endif //PROCESS_LIBPROCESS_INCLUDE_STATE_EXTENSIONS_HPP