|
MythTV master
|
This is a wrapper around QThread that does several additional things. More...
#include <libmythbase/mthread.h>
Public Member Functions | |
| MThread (const QString &objectName) | |
| Standard constructor. More... | |
| MThread (const QString &objectName, QRunnable *runnable) | |
| Use this constructor if you want the default run() method to run the QRunnable's run() method instead of entering the Qt event loop. More... | |
| virtual | ~MThread () |
| MThread (const MThread &)=delete | |
| MThread & | operator= (const MThread &)=delete |
| void | RunProlog (void) |
| Sets up a thread, call this if you reimplement run(). More... | |
| void | RunEpilog (void) |
| Cleans up a thread's resources, call this if you reimplement run(). More... | |
| QThread * | qthread (void) |
| Returns the thread, this will always return the same pointer no matter how often you restart the thread. More... | |
| void | setObjectName (const QString &name) |
| QString | objectName (void) const |
| void | setPriority (QThread::Priority priority) |
| QThread::Priority | priority (void) const |
| bool | isFinished (void) const |
| bool | isRunning (void) const |
| void | setStackSize (uint stackSize) |
| uint | stackSize (void) const |
| void | exit (int retcode=0) |
| Use this to exit from the thread if you are using a Qt event loop. More... | |
| void | start (QThread::Priority p=QThread::InheritPriority) |
| Tell MThread to start running the thread in the near future. More... | |
| void | terminate (void) |
| Kill a thread unsafely. More... | |
| void | quit (void) |
| calls exit(0) More... | |
| bool | wait (std::chrono::milliseconds time=std::chrono::milliseconds::max()) |
| Wait for the MThread to exit, with a maximum timeout. More... | |
Static Public Member Functions | |
| static void | ThreadSetup (const QString &name) |
| This is to be called on startup in those few threads that haven't been ported to MThread. More... | |
| static void | ThreadCleanup (void) |
| This is to be called on exit in those few threads that haven't been ported to MThread. More... | |
| static void | Cleanup (void) |
| This will print out all the running threads, call exit(1) on each and then wait up to 5 seconds total for all the threads to exit. More... | |
| static void | GetAllThreadNames (QStringList &list) |
| static void | GetAllRunningThreadNames (QStringList &list) |
Protected Member Functions | |
| virtual void | run (void) |
| Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead. More... | |
| int | exec (void) |
| Enters the qt event loop. call exit or quit to exit thread. More... | |
Static Protected Member Functions | |
| static void | setTerminationEnabled (bool enabled=true) |
Protected Attributes | |
| MThreadInternal * | m_thread {nullptr} |
| QRunnable * | m_runnable {nullptr} |
| bool | m_prologExecuted {true} |
| bool | m_epilogExecuted {true} |
Friends | |
| class | MThreadInternal |
This is a wrapper around QThread that does several additional things.
First it requires that you set the thread's name which is used for debugging.
It adds RunProlog() and RunEpilog() which are called automatically when you don't override run(), but must be called explicitly if you do. These take care of setting up logging and take care of dealing with QSqlConnections which are per-thread variables.
It also adds some sanity checking to the destructor so a thread can not be deleted while it still running.
Optionally it can be given a QRunnable to run in MThread::run() instead of calling QThread::run() (which starts an event loop.) When you override MThread::run() or use a QRunnable you are responsible for stopping the thread, MThread::exit() will not work.
Warning: Do not statically initialize MThreads. C++ itself doesn't allow you to specify the order of static initializations. See: http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.15
|
explicit |
Standard constructor.
Definition at line 97 of file mthread.cpp.
|
explicit |
Use this constructor if you want the default run() method to run the QRunnable's run() method instead of entering the Qt event loop.
Unlike MThreadPool, MThread will not delete a runnable with the autoDelete property set.
Definition at line 105 of file mthread.cpp.
|
virtual |
Definition at line 114 of file mthread.cpp.
|
delete |
|
static |
This will print out all the running threads, call exit(1) on each and then wait up to 5 seconds total for all the threads to exit.
Definition at line 140 of file mthread.cpp.
Referenced by MythCoreContextPrivate::~MythCoreContextPrivate().
|
protected |
Enters the qt event loop. call exit or quit to exit thread.
Definition at line 323 of file mthread.cpp.
Referenced by MythHTTPThread::run(), AppleRemote::run(), and IPTVStreamHandler::run().
| void MThread::exit | ( | int | retcode = 0 | ) |
Use this to exit from the thread if you are using a Qt event loop.
Definition at line 276 of file mthread.cpp.
Referenced by TV::ActiveHandleAction(), MythAirplayServer::Cleanup(), MythRAOPDevice::Cleanup(), StreamHandler::SetRunningDesired(), ChannelScannerWeb::stopMon(), PreviewGeneratorQueue::TeardownPreviewGeneratorQueue(), AppleRemote::~AppleRemote(), and PlaybackBoxHelper::~PlaybackBoxHelper().
|
static |
Definition at line 184 of file mthread.cpp.
|
static |
Definition at line 177 of file mthread.cpp.
| bool MThread::isFinished | ( | void | ) | const |
Definition at line 256 of file mthread.cpp.
Referenced by PlaylistContainer::cleanOutThreads(), AllMusic::cleanOutThreads(), HDHRChannelFetcher::GetChannels(), IPTVChannelFetcher::GetChannels(), VBoxChannelFetcher::GetChannels(), and WaitUntilDone().
| bool MThread::isRunning | ( | void | ) | const |
Definition at line 261 of file mthread.cpp.
Referenced by MetadataImageDownload::addDownloads(), MetadataDownload::addLookup(), MetadataImageDownload::addThumb(), AudioTest::cancelTest(), MythAirplayServer::Create(), MythRAOPDevice::Create(), MythPlayer::DecoderEnd(), MusicPlayer::decoderHandlerReady(), MythPlayer::DecoderStart(), VideoScanner::doScan(), GameScanner::doScan(), MythFIFOWriter::FIFOInit(), GameUI::gameSearch(), NetTree::GoBack(), NetTree::HandleDirSelect(), UPNPScanner::Instance(), DeviceReadBuffer::IsRunning(), RipStatus::keyPressEvent(), MythMediaBuffer::KillReadAheadThread(), logForwardStart(), logStart(), MetadataFactory::Lookup(), MetadataDownload::prependLookup(), GrabberDownloadThread::refreshAll(), FileServerHandler::RunDeleteThread(), Scheduler::Scheduler(), MusicCommon::seek(), MusicPlayer::seek(), DeviceReadBuffer::Start(), DecoderHandler::stop(), AlarmNotifyThread::stop(), DeviceReadBuffer::Stop(), V4LRecorder::StopRecording(), MetadataFactory::SynchronousLookup(), AudioTest::toggle(), DeviceReadBuffer::WaitForUsed(), DeviceReadBuffer::WakePoll(), AppleRemote::~AppleRemote(), MythMediaBuffer::~MythMediaBuffer(), and VBIThread::~VBIThread().
| QString MThread::objectName | ( | void | ) | const |
Definition at line 241 of file mthread.cpp.
Referenced by MThread(), TransferThread::run(), MPoolThread::run(), and ~MThread().
| QThread::Priority MThread::priority | ( | void | ) | const |
Definition at line 251 of file mthread.cpp.
Referenced by DVBStreamHandler::CycleFiltersByPriority(), and setPriority().
| QThread * MThread::qthread | ( | void | ) |
Returns the thread, this will always return the same pointer no matter how often you restart the thread.
Definition at line 231 of file mthread.cpp.
Referenced by MythSocket::ConnectToHost(), RecordingExtender::create(), MythAirplayServer::Create(), MythRAOPDevice::Create(), MythSocket::DisconnectFromHost(), VideoScanner::doScan(), GameScanner::doScan(), UPNPScanner::Instance(), is_current_thread(), MythSocket::IsDataAvailable(), LogForwardThread::LogForwardThread(), LoggerThread::LoggerThread(), MythHTTPInstance::MythHTTPInstance(), MythSocket::MythSocket(), MythUDP::MythUDP(), PlaybackBoxHelper::PlaybackBoxHelper(), PreviewGeneratorQueue::PreviewGeneratorQueue(), MythSocket::Read(), MythSocket::ReadStringList(), MythSocket::Reset(), ChannelScannerWeb::setupScan(), SSDP::SSDP(), Ripper::startEjectCD(), Ripper::startScanCD(), ChannelScannerWeb::stopMon(), MythSocket::Write(), and MythSocket::WriteStringList().
| void MThread::quit | ( | void | ) |
calls exit(0)
Definition at line 293 of file mthread.cpp.
Referenced by UPNPScanner::Instance(), RecordingExtender::run(), MythHTTPInstance::StopHTTPService(), MythUDP::StopUDPListener(), MythHTTPInstance::~MythHTTPInstance(), MythSocket::~MythSocket(), MythUDP::~MythUDP(), and SSDP::~SSDP().
|
protectedvirtual |
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
Reimplemented in avfDecoder, CdDecoder, CDScannerThread, CDEjectorThread, CopyImageThread, FileScannerThread, FileCopyThread, PlaylistLoadingThread, MythHTTPThread, GrabberDownloadThread, ImageScanThread< DBFS >, ImageScanThread< ImageDbLocal >, ImageScanThread< ImageDbSg >, ThumbThread< DBFS >, ThumbThread< ImageDbLocal >, ThumbThread< ImageDbSg >, MetadataDownload, MetadataImageDownload, MetadataLoadingThread, AlbumArtScannerThread, VideoScannerThread, DeleteThread, AudioOutputBase, MythDecoderThread, HLSPlaylistWorker, HLSStreamWorker, TVBrowseHelper, AppleRemote, JoystickMenuThread, TaskQueue, AudioTestThread, ShellThread, TransferThread, GetRecordingListThread, GameScannerThread, CDRipperThread, AlarmNotifyThread, HouseKeepingThread, LoggerThread, LogForwardThread, MPoolThread, MythDownloadManager, MythSystemLegacyIOHandler, MythSystemLegacyManager, MythSystemLegacySignalManager, MythSystemLegacyIOHandler, MythSystemLegacyManager, MythSystemLegacySignalManager, GrabberScript, TFWWriteThread, TFWSyncThread, anonymous_namespace{volumebase.cpp}::VolumeWriteBackThread, StreamWorker, PlaylistWorker, MythFIFOThread, MythMediaBuffer, PreviewGenerator, ASIStreamHandler, DeviceReadBuffer, DVBStreamHandler, ExternalStreamHandler, FirewireTableMonitorThread, HDHRStreamHandler, HLSStreamHandler, HTTPTSStreamHandler, IPTVStreamHandler, SatIPStreamHandler, SignalMonitor, V4L2encStreamHandler, VBIThread, LIRC, MonitorThreadDarwin, MonitorThread, ExpireThread, DeleteThread, RecordingExtender, and Scheduler.
Definition at line 313 of file mthread.cpp.
Referenced by MThreadInternal::run().
| void MThread::RunEpilog | ( | void | ) |
Cleans up a thread's resources, call this if you reimplement run().
Definition at line 207 of file mthread.cpp.
Referenced by avfDecoder::run(), CdDecoder::run(), CDScannerThread::run(), CDEjectorThread::run(), CopyImageThread::run(), FileScannerThread::run(), FileCopyThread::run(), PlaylistLoadingThread::run(), MythHTTPThread::run(), GrabberDownloadThread::run(), MetadataDownload::run(), MetadataImageDownload::run(), MetadataLoadingThread::run(), AlbumArtScannerThread::run(), VideoScannerThread::run(), DeleteThread::run(), AudioOutputBase::run(), MythDecoderThread::run(), HLSPlaylistWorker::run(), HLSStreamWorker::run(), TVBrowseHelper::run(), AppleRemote::run(), JoystickMenuThread::run(), TaskQueue::run(), AudioTestThread::run(), ShellThread::run(), TransferThread::run(), run(), GetRecordingListThread::run(), GameScannerThread::run(), CDRipperThread::run(), AlarmNotifyThread::run(), HouseKeepingThread::run(), LoggerThread::run(), LogForwardThread::run(), MPoolThread::run(), MythDownloadManager::run(), MythSystemLegacyIOHandler::run(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), GrabberScript::run(), TFWWriteThread::run(), TFWSyncThread::run(), StreamWorker::run(), PlaylistWorker::run(), MythFIFOThread::run(), MythMediaBuffer::run(), PreviewGenerator::run(), ASIStreamHandler::run(), DeviceReadBuffer::run(), DVBStreamHandler::run(), ExternalStreamHandler::run(), FirewireTableMonitorThread::run(), HDHRStreamHandler::run(), HLSStreamHandler::run(), HTTPTSStreamHandler::run(), IPTVStreamHandler::run(), SatIPStreamHandler::run(), SignalMonitor::run(), V4L2encStreamHandler::run(), VBIThread::run(), LIRC::run(), MonitorThreadDarwin::run(), MonitorThread::run(), ExpireThread::run(), RecordingExtender::run(), and Scheduler::run().
| void MThread::RunProlog | ( | void | ) |
Sets up a thread, call this if you reimplement run().
Definition at line 194 of file mthread.cpp.
Referenced by avfDecoder::run(), CdDecoder::run(), CDScannerThread::run(), CDEjectorThread::run(), CopyImageThread::run(), FileScannerThread::run(), FileCopyThread::run(), PlaylistLoadingThread::run(), MythHTTPThread::run(), GrabberDownloadThread::run(), MetadataDownload::run(), MetadataImageDownload::run(), MetadataLoadingThread::run(), AlbumArtScannerThread::run(), VideoScannerThread::run(), DeleteThread::run(), AudioOutputBase::run(), MythDecoderThread::run(), HLSPlaylistWorker::run(), HLSStreamWorker::run(), TVBrowseHelper::run(), AppleRemote::run(), JoystickMenuThread::run(), TaskQueue::run(), AudioTestThread::run(), ShellThread::run(), TransferThread::run(), run(), GetRecordingListThread::run(), GameScannerThread::run(), CDRipperThread::run(), AlarmNotifyThread::run(), HouseKeepingThread::run(), LoggerThread::run(), LogForwardThread::run(), MPoolThread::run(), MythDownloadManager::run(), MythSystemLegacyIOHandler::run(), MythSystemLegacyManager::run(), MythSystemLegacySignalManager::run(), GrabberScript::run(), TFWWriteThread::run(), TFWSyncThread::run(), StreamWorker::run(), PlaylistWorker::run(), MythFIFOThread::run(), MythMediaBuffer::run(), PreviewGenerator::run(), ASIStreamHandler::run(), DeviceReadBuffer::run(), DVBStreamHandler::run(), ExternalStreamHandler::run(), FirewireTableMonitorThread::run(), HDHRStreamHandler::run(), HLSStreamHandler::run(), HTTPTSStreamHandler::run(), IPTVStreamHandler::run(), SatIPStreamHandler::run(), SignalMonitor::run(), V4L2encStreamHandler::run(), VBIThread::run(), LIRC::run(), MonitorThreadDarwin::run(), MonitorThread::run(), ExpireThread::run(), RecordingExtender::run(), and Scheduler::run().
| void MThread::setObjectName | ( | const QString & | name | ) |
Definition at line 236 of file mthread.cpp.
Referenced by ASIStreamHandler::ASIStreamHandler(), avfDecoder::avfDecoder(), CetonStreamHandler::CetonStreamHandler(), DVBStreamHandler::DVBStreamHandler(), ExternalStreamHandler::ExternalStreamHandler(), HDHRStreamHandler::HDHRStreamHandler(), SatIPStreamHandler::SatIPStreamHandler(), and V4L2encStreamHandler::V4L2encStreamHandler().
| void MThread::setPriority | ( | QThread::Priority | priority | ) |
Definition at line 246 of file mthread.cpp.
| void MThread::setStackSize | ( | uint | stackSize | ) |
Definition at line 266 of file mthread.cpp.
Definition at line 328 of file mthread.cpp.
Referenced by RunProlog().
| uint MThread::stackSize | ( | void | ) | const |
Definition at line 271 of file mthread.cpp.
Referenced by setStackSize().
| void MThread::start | ( | QThread::Priority | p = QThread::InheritPriority | ) |
Tell MThread to start running the thread in the near future.
Definition at line 281 of file mthread.cpp.
Referenced by MetadataImageDownload::addDownloads(), MetadataDownload::addLookup(), MetadataImageDownload::addThumb(), AutoExpire::AutoExpire(), TVBrowseHelper::BrowseInit(), RecordingExtender::create(), MythAirplayServer::Create(), MythRAOPDevice::Create(), MusicPlayer::decoderHandlerReady(), MythPlayer::DecoderStart(), VideoScanner::doScan(), GameScanner::doScan(), GrabberManager::doUpdate(), EITScanner::EITScanner(), MythFIFOWriter::FIFOInit(), FirewireTableMonitorThread::FirewireTableMonitorThread(), MythSystemLegacyUnix::Fork(), MythBDBuffer::GetChapterStartTime(), MythBDBuffer::GetChapterStartTimeMs(), CdDecoder::getMetadata(), GetRecordingListThread::GetRecordingListThread(), TVRec::Init(), UPNPScanner::Instance(), JobQueue::JobQueue(), MythSystemLegacyUnix::JumpAbort(), MythSystemLegacyWindows::JumpAbort(), logForwardStart(), logStart(), main(), MythSystemLegacyWindows::Manage(), MythHTTPInstance::MythHTTPInstance(), mythplugin_init(), MythSocket::MythSocket(), MythSystemLegacyUnix::MythSystemLegacyUnix(), MythSystemLegacyWindows::MythSystemLegacyWindows(), MythUDP::MythUDP(), NetworkControl::NetworkControl(), HLSReader::Open(), ThreadedFileWriter::Open(), MythDVDStream::OpenFile(), HLSRingBuffer::OpenFile(), LinuxFirewireDevice::OpenPort(), PlaybackBoxHelper::PlaybackBoxHelper(), PlaylistContainer::PlaylistContainer(), MetadataDownload::prependLookup(), PreviewGeneratorQueue::PreviewGeneratorQueue(), TV::ProcessNetworkControlCommand(), GrabberDownloadThread::refreshAll(), MHIContext::Restart(), CDRipperThread::ripTrack(), HLSRingBuffer::SanitizeStreams(), ExternRecChannelScanner::Scan(), HDHRChannelFetcher::Scan(), IPTVChannelFetcher::Scan(), VBoxChannelFetcher::Scan(), Scheduler::SchedNewFirstPass(), Scheduler::SchedNewRetryPass(), Scheduler::Scheduler(), ChannelScannerWeb::setupScan(), SSDP::SSDP(), SignalMonitor::Start(), MythMediaBuffer::Start(), DeviceReadBuffer::Start(), DVBCam::Start(), StreamHandler::Start(), LIRC::start(), Ripper::startEjectCD(), AllMusic::startLoading(), MediaMonitor::StartMonitoring(), MediaMonitorDarwin::StartMonitoring(), AudioOutputBase::StartOutputThread(), RipStatus::startRip(), Ripper::startScanCD(), ChannelScanSM::StartScanner(), TaskQueue::TaskQueue(), AudioTest::toggle(), AudioSetupWizard::toggleSpeakers(), TVRec::TuningNewRecorderReal(), VBIThread::VBIThread(), MetadataFactory::VideoScan(), and WaitUntilDone().
| void MThread::terminate | ( | void | ) |
Kill a thread unsafely.
This should never be called on a thread while it holds a mutex or semaphore, since those locks will never be unlocked. Use the static setTerminationEnabled(true) to tell MThread when it is safe to terminate the thread and setTerminationEnabled(false) to tell it that termination is not safe again.
Definition at line 288 of file mthread.cpp.
|
static |
This is to be called on exit in those few threads that haven't been ported to MThread.
Definition at line 224 of file mthread.cpp.
Referenced by JobQueue::FlagCommercialsThread(), JobQueue::MetadataLookupThread(), MPEG2fixup::ReplexStart(), RunEpilog(), JobQueue::TranscodeThread(), and JobQueue::UserJobThread().
|
static |
This is to be called on startup in those few threads that haven't been ported to MThread.
Definition at line 219 of file mthread.cpp.
Referenced by JobQueue::FlagCommercialsThread(), JobQueue::MetadataLookupThread(), MythCoreContextPrivate::MythCoreContextPrivate(), MPEG2fixup::ReplexStart(), RunProlog(), JobQueue::TranscodeThread(), and JobQueue::UserJobThread().
| bool MThread::wait | ( | std::chrono::milliseconds | time = std::chrono::milliseconds::max() | ) |
Wait for the MThread to exit, with a maximum timeout.
| time | Maximum time to wait for MThread to exit, in ms |
Definition at line 298 of file mthread.cpp.
Referenced by TVBrowseHelper::BrowseWait(), PlaylistWorker::Cancel(), StreamWorker::Cancel(), HLSPlaylistWorker::Cancel(), HLSStreamWorker::Cancel(), PlaylistContainer::cleanOutThreads(), AllMusic::cleanOutThreads(), MythAirplayServer::Cleanup(), MythRAOPDevice::Cleanup(), cleanup(), LinuxFirewireDevice::ClosePort(), RipStatus::customEvent(), MythPlayer::DecoderEnd(), MusicPlayer::decoderHandlerReady(), MThreadPool::DeletePoolThreads(), DVBSignalMonitor::DVBSignalMonitor(), HDHRChannelFetcher::GetChannels(), IPTVChannelFetcher::GetChannels(), VBoxChannelFetcher::GetChannels(), UPNPScanner::Instance(), MythMediaBuffer::KillReadAheadThread(), logStop(), AudioTest::prepareTest(), PlaylistWorker::run(), MpegRecorder::run(), SatIPSignalMonitor::SatIPSignalMonitor(), ShutdownMythSystemLegacy(), DeviceReadBuffer::Start(), StreamHandler::Start(), ChannelScanSM::StartScanner(), SignalMonitor::Stop(), DecoderHandler::stop(), AlarmNotifyThread::stop(), ExternRecChannelScanner::Stop(), HDHRChannelFetcher::Stop(), IPTVChannelFetcher::Stop(), VBoxChannelFetcher::Stop(), DeviceReadBuffer::Stop(), DVBCam::Stop(), StreamHandler::Stop(), FirewireSignalMonitor::Stop(), MHIContext::StopEngine(), MythHTTPInstance::StopHTTPService(), ChannelScannerWeb::stopMon(), MediaMonitor::StopMonitoring(), AudioOutputBase::StopOutputThread(), V4LRecorder::StopRecording(), ChannelScanSM::StopScanner(), MythUDP::StopUDPListener(), LIRC::TeardownAll(), EITScanner::TeardownAll(), PreviewGeneratorQueue::TeardownPreviewGeneratorQueue(), TVRec::TeardownRecorder(), AudioTest::toggle(), AudioSetupWizard::toggleSpeakers(), Scheduler::Wait(), AllMusic::~AllMusic(), AudioSetupWizard::~AudioSetupWizard(), AudioTest::~AudioTest(), AudioTestThread::~AudioTestThread(), AutoExpire::~AutoExpire(), CDRipperThread::~CDRipperThread(), ExpireThread::~ExpireThread(), FirewireTableMonitorThread::~FirewireTableMonitorThread(), GameScanner::~GameScanner(), GrabberDownloadThread::~GrabberDownloadThread(), GrabberScript::~GrabberScript(), HouseKeeper::~HouseKeeper(), JobQueue::~JobQueue(), LFDPriv::~LFDPriv(), LogForwardThread::~LogForwardThread(), LoggerThread::~LoggerThread(), MetadataDownload::~MetadataDownload(), MetadataFactory::~MetadataFactory(), MetadataImageDownload::~MetadataImageDownload(), MonitorThread::~MonitorThread(), MythDecoderThread::~MythDecoderThread(), MythDownloadManager::~MythDownloadManager(), MythFIFOThread::~MythFIFOThread(), MythHTTPInstance::~MythHTTPInstance(), MythMediaBuffer::~MythMediaBuffer(), MythSocket::~MythSocket(), MythSystemLegacyIOHandler::~MythSystemLegacyIOHandler(), MythSystemLegacyManager::~MythSystemLegacyManager(), MythSystemLegacySignalManager::~MythSystemLegacySignalManager(), MythUDP::~MythUDP(), NetworkControl::~NetworkControl(), PlaybackBoxHelper::~PlaybackBoxHelper(), PlaylistContainer::~PlaylistContainer(), PreviewGenerator::~PreviewGenerator(), PreviewGeneratorQueue::~PreviewGeneratorQueue(), Scheduler::~Scheduler(), SignalMonitor::~SignalMonitor(), SSDP::~SSDP(), TaskQueue::~TaskQueue(), TFWSyncThread::~TFWSyncThread(), TFWWriteThread::~TFWWriteThread(), ThreadedFileWriter::~ThreadedFileWriter(), TVRec::~TVRec(), V4LRecorder::~V4LRecorder(), VBIThread::~VBIThread(), and VideoScanner::~VideoScanner().
|
friend |
Definition at line 134 of file mthread.h.
Referenced by RunEpilog(), start(), and ~MThread().
Definition at line 133 of file mthread.h.
Referenced by RunProlog(), start(), and ~MThread().
|
protected |
Definition at line 132 of file mthread.h.
Referenced by run(), MPoolThread::run(), and MPoolThread::SetRunnable().
|
protected |
Definition at line 131 of file mthread.h.
Referenced by exec(), exit(), isFinished(), isRunning(), MThread(), objectName(), priority(), qthread(), quit(), run(), RunEpilog(), RunProlog(), setObjectName(), setPriority(), setStackSize(), stackSize(), start(), terminate(), wait(), and ~MThread().