MythTV
master
|
#include "mythsystemlegacy.h"
#include "mythsystemunix.h"
#include "mythmiscutil.h"
#include "compat.h"
#include <cerrno>
#include <csignal>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fcntl.h>
#include <iostream>
#include <sys/select.h>
#include <sys/wait.h>
#include <unistd.h>
#include <QCoreApplication>
#include <QMutex>
#include <QMap>
#include <QString>
#include <QStringList>
#include "mythcorecontext.h"
#include "mythevent.h"
#include "exitcodes.h"
#include "mythlogging.h"
Go to the source code of this file.
Classes | |
struct | FDType_t |
Typedefs | |
using | __syscall_slong_t = long int |
using | FDMap_t = QMap< int, FDType_t * > |
Functions | |
static void | CLOSE (int &fd) |
void | ShutdownMythSystemLegacy (void) |
Variables | |
static constexpr __syscall_slong_t | kIOHandlerInterval {static_cast<__syscall_slong_t>(10)*1000*1000} |
static constexpr __syscall_slong_t | kSignalHandlerInterval {static_cast<__syscall_slong_t>(50)*1000*1000} |
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 |
using __syscall_slong_t = long int |
Definition at line 36 of file mythsystemunix.cpp.
Definition at line 48 of file mythsystemunix.cpp.
|
inlinestatic |
Definition at line 63 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), MythSystemLegacyUnix::Fork(), and MythSystemLegacySignalManager::run().
void ShutdownMythSystemLegacy | ( | void | ) |
Definition at line 75 of file mythsystemunix.cpp.
|
staticconstexpr |
Definition at line 39 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyIOHandler::run().
|
staticconstexpr |
Definition at line 41 of file mythsystemunix.cpp.
Referenced by MythSystemLegacySignalManager::run().
Definition at line 53 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyIOHandler::run(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 54 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 MythSystemLegacyUnix::MythSystemLegacyUnix(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 56 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), MythSystemLegacyUnix::MythSystemLegacyUnix(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 57 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), MythSystemLegacyUnix::MythSystemLegacyUnix(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 58 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::run(), and MythSystemLegacySignalManager::run().
|
static |
Definition at line 59 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyUnix::Fork(), MetaGrabberScript::GetList(), MythSystemLegacyManager::run(), and MythSystemLegacySignalManager::run().
|
static |
Definition at line 60 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), CLOSE(), and MythSystemLegacyIOHandler::HandleRead().
|
static |
Definition at line 61 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), CLOSE(), and MythSystemLegacyIOHandler::HandleRead().