5#include <QWaitCondition>
24 void run(
void)
override;
39 bool FIFOInit (
uint Id,
const QString& Desc,
const QString&
Name,
long Size,
int NumBufs);
40 void FIFOWrite(
uint Id,
void *
Buffer,
long Size);
45 void FIFOWriteThread(
int Id);
59 QMutex *m_fifoLock {
nullptr };
60 QWaitCondition *m_fullCond {
nullptr };
61 QWaitCondition *m_emptyCond {
nullptr };
63 QString *m_filename {
nullptr };
64 QString *m_fbDesc {
nullptr };
66 long *m_maxBlkSize {
nullptr };
67 int *m_killWr {
nullptr };
68 int *m_fbCount {
nullptr };
69 int *m_fbMaxCount {
nullptr };
This is a wrapper around QThread that does several additional things.
MythFIFOWriter * m_parent
void SetParent(MythFIFOWriter *Parent)
~MythFIFOThread() override
void run(void) override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
struct MythFifoBuffer * m_next