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 |
Macros | |
#define | CLOSE(x) |
#define | MAX_BUFLEN 1024 |
Typedefs | |
using | FDMap_t = QMap< int, FDType_t * > |
Functions | |
void | ShutdownMythSystemLegacy (void) |
Variables | |
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 |
#define CLOSE | ( | x | ) |
Definition at line 35 of file mythsystemunix.cpp.
#define MAX_BUFLEN 1024 |
Definition at line 774 of file mythsystemunix.cpp.
Definition at line 50 of file mythsystemunix.cpp.
void ShutdownMythSystemLegacy | ( | void | ) |
Definition at line 65 of file mythsystemunix.cpp.
Definition at line 55 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyIOHandler::run(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 56 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyUnix::Fork(), CetonStreamHandler::HttpRequest(), CardUtil::IsCableCardPresent(), MythSystemLegacyUnix::JumpAbort(), mythplugin_run(), MythSystemLegacyUnix::MythSystemLegacyUnix(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 57 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyUnix::MythSystemLegacyUnix(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 58 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), MythSystemLegacyUnix::MythSystemLegacyUnix(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 59 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), MythSystemLegacyUnix::MythSystemLegacyUnix(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), and ShutdownMythSystemLegacy().
|
static |
Definition at line 60 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::run(), and MythSystemLegacySignalManager::run().
|
static |
Definition at line 61 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyUnix::Fork(), MetaGrabberScript::GetList(), MythSystemLegacyManager::run(), and MythSystemLegacySignalManager::run().
|
static |
Definition at line 62 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), and MythSystemLegacyIOHandler::HandleRead().
|
static |
Definition at line 63 of file mythsystemunix.cpp.
Referenced by MythSystemLegacyManager::append(), and MythSystemLegacyIOHandler::HandleRead().