|
MythTV master
|
#include "mythsystemlegacy.h"#include "mythsystemunix.h"#include "mythmiscutil.h"#include "compat.h"#include <cerrno>#include <csignal>#include <cstdlib>#include <cstring>#include <fcntl.h>#include <iostream>#include <sys/select.h>#include <sys/wait.h>#include <thread>#include <unistd.h>#include <QCoreApplication>#include <QMutex>#include <QMap>#include <QString>#include <QStringList>#include "mythevent.h"#include "exitcodes.h"#include "mythlogging.h"#include "mythchrono.h"Go to the source code of this file.
Classes | |
| struct | FDType_t |
Typedefs | |
| using | FDMap_t = QMap< int, FDType_t * > |
Functions | |
| static void | CLOSE (int &fd) |
| void | ShutdownMythSystemLegacy (void) |
Variables | |
| static constexpr std::chrono::milliseconds | kIOHandlerInterval {10ms} |
| static constexpr std::chrono::milliseconds | kSignalHandlerInterval {50ms} |
| static bool | run_system = true |
| static MythSystemLegacyManager * | manager = nullptr |
| static MythSystemLegacySignalManager * | smanager = nullptr |
| static MythSystemLegacyIOHandler * | readThread = nullptr |
| static MythSystemLegacyIOHandler * | writeThread = nullptr |
| static MSList_t | msList |
| static QMutex | listLock |
| static FDMap_t | fdMap |
| static QMutex | fdLock |
Definition at line 45 of file mythsystemunix.cpp.
|
inlinestatic |
Definition at line 60 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), MythSystemLegacyUnix::Fork(), and MythSystemLegacySignalManager::run().
| void ShutdownMythSystemLegacy | ( | void | ) |
Definition at line 72 of file mythsystemunix.cpp.
|
static |
Definition at line 58 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), CLOSE(), and MythSystemLegacyIOHandler::HandleRead().
|
static |
Definition at line 57 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), CLOSE(), and MythSystemLegacyIOHandler::HandleRead().
|
staticconstexpr |
Definition at line 36 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyIOHandler::run().
|
staticconstexpr |
Definition at line 38 of file mythsystemunix.cpp.
Referenced by MythSystemLegacySignalManager::run().
|
static |
Definition at line 56 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyUnix::Fork(), MetaGrabberScript::GetList(), MythSystemLegacyManager::run(), and MythSystemLegacySignalManager::run().
|
static |
Definition at line 51 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyUnix::Fork(), CetonStreamHandler::HttpRequest(), CardUtil::IsCableCardPresent(), MythSystemLegacyUnix::JumpAbort(), mythplugin_run(), MythSystemLegacyUnix::MythSystemLegacyUnix(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 55 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::run(), and MythSystemLegacySignalManager::run().
|
static |
Definition at line 53 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), MythSystemLegacyUnix::MythSystemLegacyUnix(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), and ShutdownMythSystemLegacy().
Definition at line 50 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyIOHandler::run(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 52 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyUnix::MythSystemLegacyUnix(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 54 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), MythSystemLegacyUnix::MythSystemLegacyUnix(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), and ShutdownMythSystemLegacy().