feisty meow concerns codebase
2.140
|
#include "hoople_service.h"
#include "launch_manager.h"
#include <application/windoze_helper.h>
#include <basis/astring.h>
#include <basis/mutex.h>
#include <configuration/configurator.h>
#include <configuration/section_manager.h>
#include <filesystem/filename.h>
#include <loggers/critical_events.h>
#include <loggers/program_wide_logger.h>
#include <processes/configured_applications.h>
#include <processes/ethread.h>
#include <processes/launch_process.h>
#include <structures/set.h>
#include <structures/string_table.h>
#include <structures/unique_id.h>
#include <textual/parser_bits.h>
#include <timely/time_control.h>
#include <timely/time_stamp.h>
Go to the source code of this file.
Namespaces | |
application | |
Implements an application lock to ensure only one is running at once. | |
Macros | |
#define | DEBUG_PROCESS_MANAGER |
#define | LOG(s) CLASS_EMERGENCY_LOG(program_wide_logger::get(), s) |
#define | LOCK_CONFIG auto_synchronizer l(*_config_lock) |
#define | LOCK_ZOMBIES auto_synchronizer l(*_zombie_lock) |
#define | LOCK_KIDS auto_synchronizer l(*_scamp_lock) |
#define | COMPLAIN_APPLICATION LOG(astring("the application called ") + app_name + " could not be found.") |
#define | COMPLAIN_PRODUCT LOG(astring("the section for ") + product + " could not be found.") |
#define | GET_PROCESSES |
Variables | |
const int | application::CHECK_INTERVAL = 4 * SECOND_ms |
const int | application::GRACEFUL_SLACK = 90 * SECOND_ms |
const int | application::MAXIMUM_INITIAL_APP_WAIT = 4 * SECOND_ms |
const int | application::STARTUP_APPS_DELAY_PERIOD = 2 * SECOND_ms |
const int | application::MAXIMUM_REQUEST_PAUSE = 42 * SECOND_ms |
#define COMPLAIN_APPLICATION LOG(astring("the application called ") + app_name + " could not be found.") |
Definition at line 78 of file launch_manager.cpp.
Definition at line 80 of file launch_manager.cpp.
#define DEBUG_PROCESS_MANAGER |
Definition at line 47 of file launch_manager.cpp.
#define GET_PROCESSES |
Definition at line 691 of file launch_manager.cpp.
#define LOCK_CONFIG auto_synchronizer l(*_config_lock) |
Definition at line 72 of file launch_manager.cpp.
#define LOCK_KIDS auto_synchronizer l(*_scamp_lock) |
Definition at line 74 of file launch_manager.cpp.
#define LOCK_ZOMBIES auto_synchronizer l(*_zombie_lock) |
Definition at line 73 of file launch_manager.cpp.
#define LOG | ( | s | ) | CLASS_EMERGENCY_LOG(program_wide_logger::get(), s) |
Definition at line 50 of file launch_manager.cpp.