summaryrefslogtreecommitdiff
path: root/thread.c
AgeCommit message (Collapse)Author
2017-06-03Added backtrace functions for debuggingKlaus Schmidinger
2017-05-28Added debug output for checking the correct sequence of locking global listsKlaus Schmidinger
2016-12-08The cRwLock class now allows nested read locks within a write lock from the ↵Klaus Schmidinger
same thread
2015-09-01Implemented strict locking of global listsKlaus Schmidinger
2013-12-29Deleted a superfluous assignment in cPipe::Open()Klaus Schmidinger
2013-04-10Changed cThread::SetIOPriority() from "best effort class" to "idle class" in ↵Klaus Schmidinger
order to improve overall performance when an editing process is running
2013-02-22Removed empty lines at end of fileKlaus Schmidinger
2012-10-04The cThread constructor now has an additional boolean parameter that can be ↵Klaus Schmidinger
set to true to have this thread run at a lower priority
2012-09-22The new class cIoThrottle is used to allow I/O intense threads to ↵Klaus Schmidinger
temporarily suspend their activities in case buffers run full
2012-05-08Renamed the function cString::sprintf(const char *fmt, va_list &ap) to ↵Klaus Schmidinger
vsprintf()
2009-04-13Added cThread::SetIOPriority() and using it in cRemoveDeletedRecordingsThreadKlaus Schmidinger
2008-09-06Fixed a possible integer overflow in GetAbsTime()Klaus Schmidinger
2008-04-13Now setting the thread name, so that it can be seen in 'top -H'Klaus Schmidinger
2008-02-15Using cString::sprintf() instead of asprintf()Klaus Schmidinger
2007-10-19Improved shutdown handlingKlaus Schmidinger
2007-08-24Fixed some compiler warnings with gcc-4.2.0Klaus Schmidinger
2007-06-17Fixed handling detached processes in SystemExec()Klaus Schmidinger
2007-02-25Rewrite of shutdown handling; implemented cPlugin::WakeupTime(); SIGHUP ↵Klaus Schmidinger
forces reload; cThread::EmergencyExit() replaced by ShutdownHandler.RequestEmergencyExit()
2007-01-07CAM handling refactored; multiple recordings with one CAM; automatic CAM ↵1.5.0Klaus Schmidinger
selection
2006-09-24The function cThread::Cancel() now only sets 'running' to false and does not ↵Klaus Schmidinger
actually kill the thread if the special value -1 is given
2006-08-20Adapted cThread::ThreadId() to recent kernelsKlaus Schmidinger
2006-06-24Removed a double fdopen() in cPipe::Open()Klaus Schmidinger
2006-06-02Removed the call to pthread_setschedparam(childTid, SCHED_RR, 0) in thread.cKlaus Schmidinger
2006-03-26Fixed format string handlingKlaus Schmidinger
2006-02-12Now logging the description (if present) in case a thread is canceledKlaus Schmidinger
2006-01-28Fixed some typosKlaus Schmidinger
2006-01-08Added a missing #include <linux/unistd.h> to thread.cKlaus Schmidinger
2006-01-04Using the thread id in the "thread ... won't end" error messageKlaus Schmidinger
2006-01-03Fixed setting the main thread id if VDR is running as a daemonKlaus Schmidinger
2006-01-01Fixed initializing pthread_mutexattr_t and pthread_rwlockattr_t to avoid ↵Klaus Schmidinger
warnings with g++ 4.1.0
2005-12-11Now using the gettid() syscall to get a thread's pid, so that we get a ↵Klaus Schmidinger
useful value on NPTL systems
2005-11-27Implemented message queueing1.3.37Klaus Schmidinger
2005-08-14Changed cThread Active() vs. Running()Klaus Schmidinger
2005-08-13Centralized 'thread active' handlingKlaus Schmidinger
2005-05-29Added cThread::SetPriority() and using it in cSectionHandler::Action() to ↵1.3.25Klaus Schmidinger
reduce the priority of the section handler threads
2005-05-06Fixed timeout handling in cRwLock::Lock()Klaus Schmidinger
2005-01-14Made cCondWait::SleepMs() sleep at least 3ms to avoid a possible busy waitKlaus Schmidinger
2004-12-19Fixed a race condition in starting a threadKlaus Schmidinger
2004-11-26Fixed the spelling of 'canceling'Klaus Schmidinger
2004-11-26Some more changes to the 'childTid' handling in cThreadKlaus Schmidinger
2004-11-20Fixed handling childTid in cThread to avoid possible race conditionsKlaus Schmidinger
2004-10-31Now calling pthread_cond_broadcast() in the desctructor of cCondWait and ↵Klaus Schmidinger
cCondVar; using pthread_cond_broadcast() instead of pthread_cond_signal() in cCondWait
2004-10-24Added cCondWait::Sleep() and using it to replace all usleep() callsKlaus Schmidinger
2004-10-24Added some checks when cancelling a thread and removed the usleep() in ↵Klaus Schmidinger
cThread::Start(); removed 'running' from cThread
2004-10-24Removed the signal handler and WakeUp() call from cThreadKlaus Schmidinger
2004-10-16Improved buffer handlingKlaus Schmidinger
2004-03-14Fixed a memory leak in thread handling when using NPTLKlaus Schmidinger
2004-01-04Implemented automatic PID switching and channel detectionKlaus Schmidinger
2003-12-22Changed section handling; replaced 'libdtv' with 'libsi'Klaus Schmidinger
2003-10-18Mutexes are now created with PTHREAD_MUTEX_ERRORCHECK_NPKlaus Schmidinger