|
MythTV
0.27pre
|
This is a wrapper around QThread that does several additional things. More...
#include <mthread.h>
Inherited by AppleRemote, AudioOutputBase, AudioTestThread, CDEjectorThread, CDRipperThread, CDScannerThread, CECAdapter, ChildCountThread, DBLoggerThread, Decoder, DecoderThread, DeleteThread, DeviceReadBuffer [protected], ExpireThread, FetcherThread, FIFOThread, FileCopyThread, FileScannerThread, FilterScanThread, FirewireTableMonitorThread, GameScannerThread, GetRecordingListThread, GrabberDownloadThread, GrabberScript, HouseKeepingThread, JoystickMenuThread, KenBurnsImageLoader, LIRC, LogForwardThread, LoggerThread, LogServerThread, MetadataDownload, MetadataImageDownload, MonitorThread, MPoolThread, MythDownloadManager, MythFillDatabaseThread, MythSignalingTimer [private], MythSystemIOHandler, MythSystemIOHandler, MythSystemManager, MythSystemManager, MythSystemSignalManager, MythSystemSignalManager, NVRAudioThread, NVRWriteThread, PlaybackBoxHelper, PlaylistLoadingThread, PlaylistWorker, PreviewGenerator, PreviewGeneratorQueue, RingBuffer [protected], Scheduler, SignalMonitor [protected], SSDP, StreamHandler [protected], StreamWorker, TaskQueue, TFWSyncThread, TFWWriteThread, ThumbGenerator, TVBrowseHelper, UpdateThread, VBIThread, and VideoScannerThread.

Public Member Functions | |
| MThread (const QString &objectName) | |
| Standard constructor. | |
| 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. | |
| virtual | ~MThread () |
| void | RunProlog (void) |
| Sets up a thread, call this if you reimplement run(). | |
| void | RunEpilog (void) |
| Cleans up a thread's resources, call this if you reimplement run(). | |
| QThread * | qthread (void) |
| Returns the thread, this will always return the same pointer no matter how often you restart the thread. | |
| 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. | |
| void | start (QThread::Priority=QThread::InheritPriority) |
| Tell MThread to start running the thread in the near future. | |
| void | terminate (void) |
| Kill a thread unsafely. | |
| void | quit (void) |
| calls exit(0) | |
| bool | wait (unsigned long time=ULONG_MAX) |
| Wait for the MThread to exit, with a maximum timeout. | |
Static Public Member Functions | |
| static void | ThreadSetup (const QString &) |
| This is to be called on startup in those few threads that haven't been ported to MThread. | |
| static void | ThreadCleanup (void) |
| This is to be called on exit in those few threads that haven't been ported to MThread. | |
| 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. | |
| static void | GetAllThreadNames (QStringList &list) |
| static void | GetAllRunningThreadNames (QStringList &list) |
Static Public Attributes | |
| static const int | kDefaultStartTimeout |
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. | |
| int | exec (void) |
| Enters the qt event loop. call exit or quit to exit thread. | |
Static Protected Member Functions | |
| static void | setTerminationEnabled (bool enabled=true) |
| static void | sleep (unsigned long time) |
| static void | msleep (unsigned long time) |
| static void | usleep (unsigned long time) |
Protected Attributes | |
| MThreadInternal * | m_thread |
| QRunnable * | m_runnable |
| bool | m_prolog_executed |
| bool | m_epilog_executed |
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 102 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 111 of file mthread.cpp.
|
virtual |
Definition at line 120 of file mthread.cpp.
Sets up a thread, call this if you reimplement run().
Definition at line 203 of file mthread.cpp.
Referenced by PlaylistLoadingThread::run(), DeleteThread::run(), FIFOThread::run(), TFWWriteThread::run(), avfDecoder::run(), FetcherThread::run(), MonitorThread::run(), CDScannerThread::run(), FirewireTableMonitorThread::run(), MythSystemIOHandler::run(), FileScannerThread::run(), TFWSyncThread::run(), GameScannerThread::run(), CDEjectorThread::run(), MythSignalingTimer::run(), MythDownloadManager::run(), LIRC::run(), FilterScanThread::run(), GrabberScript::run(), GetRecordingListThread::run(), CdDecoder::run(), DVBStreamHandler::run(), MetadataDownload::run(), AppleRemote::run(), MythSystemManager::run(), DeviceReadBuffer::run(), FileCopyThread::run(), PreviewGenerator::run(), VideoScannerThread::run(), ThumbGenerator::run(), CDRipperThread::run(), ASIStreamHandler::run(), MetadataImageDownload::run(), MythSystemSignalManager::run(), VBIThread::run(), HDHRStreamHandler::run(), IPTVStreamHandler::run(), JoystickMenuThread::run(), Scheduler::run(), TaskQueue::run(), SSDP::run(), TVBrowseHelper::run(), SignalMonitor::run(), run(), GrabberDownloadThread::run(), AudioOutputBase::run(), LogServerThread::run(), AudioTestThread::run(), KenBurnsImageLoader::run(), RingBuffer::run(), LoggerThread::run(), LogForwardThread::run(), ChildCountThread::run(), DBLoggerThread::run(), StreamWorker::run(), and PlaylistWorker::run().
Cleans up a thread's resources, call this if you reimplement run().
Definition at line 216 of file mthread.cpp.
Referenced by PlaylistLoadingThread::run(), DeleteThread::run(), FIFOThread::run(), TFWWriteThread::run(), avfDecoder::run(), FetcherThread::run(), MonitorThread::run(), CDScannerThread::run(), FirewireTableMonitorThread::run(), MythSystemIOHandler::run(), FileScannerThread::run(), TFWSyncThread::run(), GameScannerThread::run(), CDEjectorThread::run(), MythSignalingTimer::run(), MythDownloadManager::run(), LIRC::run(), FilterScanThread::run(), GrabberScript::run(), GetRecordingListThread::run(), CdDecoder::run(), DVBStreamHandler::run(), MetadataDownload::run(), AppleRemote::run(), MythSystemManager::run(), DeviceReadBuffer::run(), FileCopyThread::run(), PreviewGenerator::run(), VideoScannerThread::run(), ThumbGenerator::run(), CDRipperThread::run(), ASIStreamHandler::run(), MetadataImageDownload::run(), MythSystemSignalManager::run(), VBIThread::run(), HDHRStreamHandler::run(), IPTVStreamHandler::run(), JoystickMenuThread::run(), Scheduler::run(), TaskQueue::run(), SSDP::run(), TVBrowseHelper::run(), SignalMonitor::run(), run(), GrabberDownloadThread::run(), AudioOutputBase::run(), LogServerThread::run(), AudioTestThread::run(), KenBurnsImageLoader::run(), RingBuffer::run(), LoggerThread::run(), LogForwardThread::run(), ChildCountThread::run(), DBLoggerThread::run(), StreamWorker::run(), and PlaylistWorker::run().
| 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 241 of file mthread.cpp.
Referenced by MythSocket::ConnectToHost(), MythRAOPDevice::Create(), MythAirplayServer::Create(), MythSocket::DisconnectFromHost(), VideoScanner::doScan(), GameScanner::doScan(), UPNPScanner::Instance(), is_current_thread(), MythSocket::IsDataAvailable(), LogForwardThread::LogForwardThread(), LoggerThread::LoggerThread(), LogServerThread::LogServerThread(), MythSocket::MythSocket(), PlaybackBoxHelper::PlaybackBoxHelper(), PreviewGeneratorQueue::PreviewGeneratorQueue(), MythSocket::Read(), MythSocket::ReadStringList(), MythSocket::Reset(), Ripper::startEjectCD(), Ripper::startScanCD(), MythSocket::Write(), and MythSocket::WriteStringList().
| void MThread::setObjectName | ( | const QString & | name | ) |
Definition at line 246 of file mthread.cpp.
Referenced by ASIStreamHandler::ASIStreamHandler(), avfDecoder::avfDecoder(), CetonStreamHandler::CetonStreamHandler(), DVBStreamHandler::DVBStreamHandler(), and HDHRStreamHandler::HDHRStreamHandler().
| QString MThread::objectName | ( | void | ) | const |
Definition at line 251 of file mthread.cpp.
| void MThread::setPriority | ( | QThread::Priority | priority | ) |
Definition at line 256 of file mthread.cpp.
| QThread::Priority MThread::priority | ( | void | ) | const |
Definition at line 261 of file mthread.cpp.
Referenced by DVBStreamHandler::CycleFiltersByPriority().
Definition at line 266 of file mthread.cpp.
Referenced by PlaylistContainer::cleanOutThreads(), ImportMusicDialog::startScan(), and GalleryFilterDialog::updateFilter().
Definition at line 271 of file mthread.cpp.
Referenced by MetadataImageDownload::addDownloads(), MetadataDownload::addLookup(), MetadataImageDownload::addThumb(), MythRAOPDevice::Create(), MythAirplayServer::Create(), MythPlayer::DecoderEnd(), MythPlayer::DecoderStart(), VideoScanner::doScan(), GameScanner::doScan(), FIFOWriter::FIFOInit(), GameUI::gameSearch(), NetTree::goBack(), NetTree::handleDirSelect(), HouseKeeper::HouseKeeper(), RecordingSelector::Init(), UPNPScanner::Instance(), DeviceReadBuffer::IsRunning(), RipStatus::keyPressEvent(), HouseKeeper::KillMFD(), RingBuffer::KillReadAheadThread(), DatabaseLogger::logmsg(), LogPrintLine(), logServerStart(), logStart(), MetadataFactory::Lookup(), MetadataDownload::prependLookup(), GrabberDownloadThread::refreshAll(), FileServerHandler::RunDeleteThread(), HouseKeeper::RunHouseKeeping(), Scheduler::Scheduler(), MusicCommon::seek(), DeviceReadBuffer::Start(), DeviceReadBuffer::Stop(), DecoderHandler::stop(), V4LRecorder::StopRecording(), MetadataFactory::SynchronousLookup(), AudioTest::toggle(), AudioTest::togglequality(), DeviceReadBuffer::WaitForUsed(), DeviceReadBuffer::WakePoll(), CECAdapter::~CECAdapter(), MythMainWindow::~MythMainWindow(), PrivateDecoderCrystalHD::~PrivateDecoderCrystalHD(), RingBuffer::~RingBuffer(), and VBIThread::~VBIThread().
Definition at line 276 of file mthread.cpp.
Definition at line 281 of file mthread.cpp.
Use this to exit from the thread if you are using a Qt event loop.
Definition at line 286 of file mthread.cpp.
Referenced by MythRAOPDevice::Cleanup(), MythAirplayServer::Cleanup(), StreamHandler::SetRunningDesired(), PreviewGeneratorQueue::TeardownPreviewGeneratorQueue(), CECAdapter::~CECAdapter(), and PlaybackBoxHelper::~PlaybackBoxHelper().
| void MThread::start | ( | QThread::Priority | p = QThread::InheritPriority | ) |
Tell MThread to start running the thread in the near future.
Definition at line 291 of file mthread.cpp.
Referenced by MetadataImageDownload::addDownloads(), MetadataDownload::addLookup(), MetadataImageDownload::addThumb(), AutoExpire::AutoExpire(), CECAdapter::CECAdapter(), MythRAOPDevice::Create(), MythAirplayServer::Create(), DatabaseLogger::DatabaseLogger(), MusicPlayer::decoderHandlerReady(), MythPlayer::DecoderStart(), VideoScanner::doScan(), GameScanner::doScan(), GrabberManager::doUpdate(), GLSingleView::EffectKenBurns(), EITScanner::EITScanner(), FIFOWriter::FIFOInit(), finish_mpg(), CdDecoder::getMetadata(), GetMythDownloadManager(), GetRecordingListThread::GetRecordingListThread(), HouseKeeper::HouseKeeper(), TVRec::Init(), UPNPScanner::Instance(), isom_write_avcc(), JobQueue::JobQueue(), MythSystemWindows::JumpAbort(), MythSystemUnix::JumpAbort(), logServerStart(), logStart(), main(), MythSystemWindows::Manage(), MythSystemUnix::Manage(), MythMainWindow::MythMainWindow(), MythSocket::MythSocket(), MythSystemUnix::MythSystemUnix(), MythSystemWindows::MythSystemWindows(), NetworkControl::NetworkControl(), ThreadedFileWriter::Open(), HLSRingBuffer::OpenFile(), LinuxFirewireDevice::OpenPort(), PlaybackBoxHelper::PlaybackBoxHelper(), PlaylistContainer::PlaylistContainer(), MetadataDownload::prependLookup(), PreviewGeneratorQueue::PreviewGeneratorQueue(), GrabberDownloadThread::refreshAll(), MHIContext::Restart(), CDRipperThread::ripTrack(), NuppelVideoRecorder::run(), LogServerThread::run(), HLSRingBuffer::SanitizeStreams(), IPTVChannelFetcher::Scan(), Scheduler::Scheduler(), SSDP::SSDP(), DVBCam::Start(), SignalMonitor::Start(), DeviceReadBuffer::Start(), StreamHandler::Start(), RingBuffer::Start(), Ripper::startEjectCD(), PrivateDecoderCrystalHD::StartFetcherThread(), HouseKeeper::StartMFD(), MediaMonitorDarwin::StartMonitoring(), MediaMonitor::StartMonitoring(), AudioOutputBase::StartOutputThread(), RipStatus::startRip(), ImportMusicDialog::startScan(), Ripper::startScanCD(), ChannelScanSM::StartScanner(), TaskQueue::TaskQueue(), AudioTest::toggle(), AudioSetupWizard::toggleSpeakers(), MThreadPool::TryStartInternal(), TVRec::TuningNewRecorder(), TVBrowseHelper::TVBrowseHelper(), AutoExpire::Update(), GalleryFilterDialog::updateFilter(), VBIThread::VBIThread(), and MetadataFactory::VideoScan().
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 298 of file mthread.cpp.
Referenced by HouseKeeper::KillMFD().
calls exit(0)
Definition at line 303 of file mthread.cpp.
Referenced by UPNPScanner::Instance(), LogServerThread::stop(), and MythSocket::~MythSocket().
|
static |
This is to be called on startup in those few threads that haven't been ported to MThread.
Definition at line 228 of file mthread.cpp.
Referenced by dfd_controller_thunk(), JobQueue::FlagCommercialsThread(), JobQueue::MetadataLookupThread(), MythCoreContextPrivate::MythCoreContextPrivate(), MPEG2fixup::ReplexStart(), RunProlog(), JobQueue::TranscodeThread(), and JobQueue::UserJobThread().
This is to be called on exit in those few threads that haven't been ported to MThread.
Definition at line 234 of file mthread.cpp.
Referenced by dfd_controller_thunk(), JobQueue::FlagCommercialsThread(), JobQueue::MetadataLookupThread(), MPEG2fixup::ReplexStart(), RunEpilog(), JobQueue::TranscodeThread(), and JobQueue::UserJobThread().
| bool MThread::wait | ( | unsigned long | time = ULONG_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 308 of file mthread.cpp.
Referenced by StreamWorker::Cancel(), PlaylistWorker::Cancel(), PlaylistContainer::cleanOutThreads(), cleanup(), MythRAOPDevice::Cleanup(), MythAirplayServer::Cleanup(), LinuxFirewireDevice::ClosePort(), RipStatus::customEvent(), MythPlayer::DecoderEnd(), MThreadPool::DeletePoolThreads(), DVBSignalMonitor::DVBSignalMonitor(), UPNPScanner::Instance(), NuppelVideoRecorder::KillChildren(), HouseKeeper::KillMFD(), RingBuffer::KillReadAheadThread(), logServerStop(), logStop(), PlaylistWorker::PlaylistWorker(), MpegRecorder::run(), PlaylistWorker::run(), ShutdownMythSystem(), DeviceReadBuffer::Start(), StreamHandler::Start(), ChannelScanSM::StartScanner(), MythSignalingTimer::stop(), DVBCam::Stop(), FirewireSignalMonitor::Stop(), SignalMonitor::Stop(), DeviceReadBuffer::Stop(), IPTVChannelFetcher::Stop(), StreamHandler::Stop(), DecoderHandler::stop(), DatabaseLogger::stopDatabaseAccess(), MHIContext::StopEngine(), MediaMonitor::StopMonitoring(), AudioOutputBase::StopOutputThread(), V4LRecorder::StopRecording(), ChannelScanSM::StopScanner(), LIRC::TeardownAll(), EITScanner::TeardownAll(), TVRec::TeardownAll(), PreviewGeneratorQueue::TeardownPreviewGeneratorQueue(), TVRec::TeardownRecorder(), AudioTest::toggle(), AudioSetupWizard::toggleSpeakers(), Scheduler::Wait(), TVBrowseHelper::Wait(), AudioSetupWizard::~AudioSetupWizard(), AudioTest::~AudioTest(), AudioTestThread::~AudioTestThread(), AutoExpire::~AutoExpire(), CDRipperThread::~CDRipperThread(), ChildCountThread::~ChildCountThread(), DBLoggerThread::~DBLoggerThread(), FIFOWriter::~FIFOWriter(), GameScanner::~GameScanner(), GrabberDownloadThread::~GrabberDownloadThread(), GrabberScript::~GrabberScript(), HouseKeeper::~HouseKeeper(), HouseKeepingThread::~HouseKeepingThread(), JobQueue::~JobQueue(), LogForwardThread::~LogForwardThread(), LoggerThread::~LoggerThread(), LogServerThread::~LogServerThread(), MetadataDownload::~MetadataDownload(), MetadataFactory::~MetadataFactory(), MetadataImageDownload::~MetadataImageDownload(), MonitorThread::~MonitorThread(), MythDownloadManager::~MythDownloadManager(), MythFillDatabaseThread::~MythFillDatabaseThread(), MythMainWindow::~MythMainWindow(), MythSignalingTimer::~MythSignalingTimer(), MythSocket::~MythSocket(), MythSystemIOHandler::~MythSystemIOHandler(), MythSystemManager::~MythSystemManager(), MythSystemSignalManager::~MythSystemSignalManager(), NetworkControl::~NetworkControl(), PlaybackBoxHelper::~PlaybackBoxHelper(), PlaylistContainer::~PlaylistContainer(), PreviewGenerator::~PreviewGenerator(), PreviewGeneratorQueue::~PreviewGeneratorQueue(), PrivateDecoderCrystalHD::~PrivateDecoderCrystalHD(), RingBuffer::~RingBuffer(), Scheduler::~Scheduler(), SignalMonitor::~SignalMonitor(), SSDP::~SSDP(), TaskQueue::~TaskQueue(), ThreadedFileWriter::~ThreadedFileWriter(), ThumbGenerator::~ThumbGenerator(), V4LRecorder::~V4LRecorder(), VBIThread::~VBIThread(), and VideoScanner::~VideoScanner().
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 146 of file mthread.cpp.
Referenced by MythCoreContextPrivate::~MythCoreContextPrivate().
|
static |
Definition at line 184 of file mthread.cpp.
|
static |
Definition at line 192 of file mthread.cpp.
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
Reimplemented in PlaylistWorker, StreamWorker, DBLoggerThread, ChildCountThread, LogForwardThread, LoggerThread, RingBuffer, KenBurnsImageLoader, AudioTestThread, LogServerThread, AudioOutputBase, GrabberDownloadThread, SignalMonitor, TVBrowseHelper, DecoderThread, SSDP, TaskQueue, Scheduler, IPTVStreamHandler, VBIThread, DeleteThread, MythSystemSignalManager, MythSystemSignalManager, MetadataImageDownload, NVRAudioThread, ThumbGenerator, VideoScannerThread, PreviewGenerator, FileCopyThread, MPoolThread, MythSystemManager, AppleRemote, NVRWriteThread, UpdateThread, MetadataDownload, MythSystemManager, ExpireThread, GrabberScript, GetRecordingListThread, FilterScanThread, MythDownloadManager, CDEjectorThread, GameScannerThread, MythSystemIOHandler, TFWSyncThread, FileScannerThread, MythFillDatabaseThread, MythSystemIOHandler, FirewireTableMonitorThread, MonitorThread, CDScannerThread, FetcherThread, TFWWriteThread, DeleteThread, FIFOThread, HouseKeepingThread, MonitorThreadDarwin, and PlaylistLoadingThread.
Definition at line 315 of file mthread.cpp.
Enters the qt event loop. call exit or quit to exit thread.
Definition at line 325 of file mthread.cpp.
Referenced by AppleRemote::run(), IPTVStreamHandler::run(), and LogServerThread::run().
Reimplemented in MythFillDatabaseThread.
Definition at line 330 of file mthread.cpp.
Referenced by RunProlog().
|
staticprotected |
Definition at line 335 of file mthread.cpp.
Referenced by LIRC::run(), and Scheduler::run().
|
staticprotected |
Definition at line 340 of file mthread.cpp.
Referenced by PlaylistLoadingThread::run(), MonitorThread::run(), TaskQueue::run(), and LogForwardThread::shutdownTimerExpired().
|
staticprotected |
Definition at line 345 of file mthread.cpp.
Referenced by DeviceReadBuffer::CheckForErrors(), CetonStreamHandler::ClearProgramNumber(), MonitorThreadDarwin::diskInsert(), AudioOutputBase::Drain(), DVBSignalMonitor::DVBSignalMonitor(), CetonStreamHandler::GetProgramNumber(), BDRingBuffer::HandleBDEvent(), DeviceReadBuffer::HandlePausing(), CetonStreamHandler::HttpRequest(), AudioOutputOSS::OpenDevice(), AudioOutputCA::OpenDevice(), FileRingBuffer::OpenFile(), AudioOutputBase::OutputAudioLoop(), SSDP::PerformSearch(), DeviceReadBuffer::Poll(), DeleteThread::run(), avfDecoder::run(), MythDownloadManager::run(), LIRC::run(), CdDecoder::run(), DeviceReadBuffer::run(), HDHRStreamHandler::run(), Scheduler::run(), AudioTestThread::run(), RingBuffer::run(), StreamWorker::run(), DVBStreamHandler::RunSR(), FirewireSignalMonitor::RunTableMonitor(), DVBStreamHandler::RunTS(), FileRingBuffer::safe_read(), DVDRingBuffer::safe_read(), MythDownloadManager::saveFile(), PreviewGenerator::SaveOutFile(), MythSignalingTimer::start(), FirewireSignalMonitor::UpdateValues(), BDRingBuffer::WaitForPlayer(), DVDRingBuffer::WaitForPlayer(), DeviceReadBuffer::WaitForUnused(), AudioOutputALSA::WriteAudio(), avfDecoder::writeBlock(), and CdDecoder::writeBlock().
|
friend |
|
protected |
Definition at line 128 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().
|
protected |
|
protected |
Definition at line 130 of file mthread.h.
Referenced by RunProlog(), start(), and ~MThread().
|
protected |
Definition at line 131 of file mthread.h.
Referenced by RunEpilog(), start(), and ~MThread().
1.8.1.2