1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
Commit Graph

46 Commits

Author SHA1 Message Date
Klaus Schmidinger
3cd5294d8a Implemented strict locking of global lists 2015-09-01 11:14:27 +02:00
Klaus Schmidinger
1ddda558b0 Modified the descriptions of several threads 2015-01-14 11:39:55 +01:00
Klaus Schmidinger
37d2bf4d9a Removed a double empty line 2013-04-11 08:47:31 +02:00
Klaus Schmidinger
ff27cca4fe Removed all \return and \param tags from comment lines marked with "///<" for Doxygen 2013-02-16 15:26:45 +01:00
Klaus Schmidinger
1e9b16d20b The cThread constructor now has an additional boolean parameter that can be set to true to have this thread run at a lower priority 2012-10-04 12:32:31 +02:00
Klaus Schmidinger
72c03260d7 The new class cIoThrottle is used to allow I/O intense threads to temporarily suspend their activities in case buffers run full 2012-09-22 11:52:33 +02:00
Klaus Schmidinger
5b57bdebdc Added cThread::SetIOPriority() and using it in cRemoveDeletedRecordingsThread 2009-04-13 13:55:23 +02:00
Klaus Schmidinger
ddb7f33567 Rewrite of shutdown handling; implemented cPlugin::WakeupTime(); SIGHUP forces reload; cThread::EmergencyExit() replaced by ShutdownHandler.RequestEmergencyExit() 2007-02-25 10:56:29 +01:00
Klaus Schmidinger
87dd5139ff CAM handling refactored; multiple recordings with one CAM; automatic CAM selection 2007-01-07 14:46:14 +01:00
Klaus Schmidinger
2d68b323c7 The function cThread::Cancel() now only sets 'running' to false and does not actually kill the thread if the special value -1 is given 2006-09-24 12:54:47 +02:00
Klaus Schmidinger
2d863532cc Cleaned up some trailing white space 2006-01-08 11:44:37 +01:00
Klaus Schmidinger
951b3509ea Using the thread id in the "thread ... won't end" error message 2006-01-04 15:01:22 +01:00
Klaus Schmidinger
c01259dbb5 Fixed setting the main thread id if VDR is running as a daemon 2006-01-03 10:20:41 +01:00
Klaus Schmidinger
72759ed131 Now using the gettid() syscall to get a thread's pid, so that we get a useful value on NPTL systems 2005-12-11 12:10:28 +01:00
Klaus Schmidinger
41f718987d Implemented message queueing 2005-11-27 15:57:03 +01:00
Klaus Schmidinger
325163c0ef Added '__attribute__' to functions that use printf() like parameters 2005-10-09 11:14:14 +02:00
Klaus Schmidinger
af54ce4842 Changed cThread Active() vs. Running() 2005-08-14 11:24:57 +02:00
Klaus Schmidinger
ccb0add798 Centralized 'thread active' handling 2005-08-13 13:17:24 +02:00
Klaus Schmidinger
e622406342 Added cThread::SetPriority() and using it in cSectionHandler::Action() to reduce the priority of the section handler threads 2005-05-29 11:44:52 +02:00
Klaus Schmidinger
0ad4b2a713 Made cCondWait::SleepMs() sleep at least 3ms to avoid a possible busy wait 2005-01-14 14:08:47 +01:00
Klaus Schmidinger
9a8ef2b6c2 Fixed a race condition in starting a thread 2004-12-19 10:58:20 +01:00
Klaus Schmidinger
eb8405695b Some more changes to the 'childTid' handling in cThread 2004-11-26 14:05:36 +01:00
Klaus Schmidinger
9f51fcad22 Added cCondWait::Sleep() and using it to replace all usleep() calls 2004-10-24 11:12:05 +02:00
Klaus Schmidinger
70e6038056 Added some checks when cancelling a thread and removed the usleep() in cThread::Start(); removed 'running' from cThread 2004-10-24 10:34:20 +02:00
Klaus Schmidinger
73fde7480a Removed the signal handler and WakeUp() call from cThread 2004-10-24 09:53:12 +02:00
Klaus Schmidinger
6415cc900d Improved buffer handling 2004-10-16 09:36:28 +02:00
Klaus Schmidinger
8976ebcec5 Implemented automatic PID switching and channel detection 2004-01-04 12:30:00 +01:00
Klaus Schmidinger
7ff59171e3 Changed section handling; replaced 'libdtv' with 'libsi' 2003-12-22 13:29:24 +01:00
Klaus Schmidinger
e7b6b2fff7 Mutexes are now created with PTHREAD_MUTEX_ERRORCHECK_NP 2003-10-18 13:20:01 +02:00
Klaus Schmidinger
e53e43d2b8 The cThread class now accepts a 'Description' parameter 2003-10-18 12:29:08 +02:00
Klaus Schmidinger
15816ee8e4 Changed thread handling to make it work with NPTL 2003-10-18 11:14:33 +02:00
Klaus Schmidinger
2cd7928fc6 Removed the (no longer necessary) 'panic' stuff from cThread 2003-05-03 14:08:28 +02:00
Klaus Schmidinger
3540d18855 Improved cCondVar::Wait() and implemented cCondVar::TimedWait() 2002-08-15 11:46:22 +02:00
Klaus Schmidinger
a4bfddd2f9 Totally rearranged device/player/recorder structures 2002-06-16 12:57:31 +02:00
Klaus Schmidinger
db7f6ee619 Accessing Schedules data directly via cSIProcessor 2002-02-23 13:55:57 +01:00
Klaus Schmidinger
17cdf085c7 Removed the recursion stuff from cThread (cMutex already does this) 2001-10-27 13:23:06 +02:00
Klaus Schmidinger
60ee85bf17 Closing all open file descriptors when calling external programs 2001-10-20 10:39:27 +02:00
Klaus Schmidinger
7913b00daa Pipe to Dolby Digital replay command closes all unused file descriptors to avoid crashing when OSD is on 2001-09-15 13:00:58 +02:00
Klaus Schmidinger
c2ed9b5daf New ringbuffer for frames 2001-08-05 12:23:24 +02:00
Klaus Schmidinger
bff17fb1d0 Added support for replaying DVDs 2001-08-03 14:18:08 +02:00
Klaus Schmidinger
3d2cf4e12a Additional 'emergency exit' in case channel switching doesn't work several times in a row 2001-07-12 10:27:18 +02:00
Klaus Schmidinger
c40e4eb96e Converted to the new API plus several small enhancements 2001-06-02 10:47:40 +02:00
Klaus Schmidinger
6b0658a977 Switched to PES recording 2000-12-08 16:23:32 +01:00
Klaus Schmidinger
6439a8e169 All cards write EIT info into the same data structure; free cards scan for EIT info 2000-11-18 13:57:32 +01:00
Klaus Schmidinger
e6999e9b3a Implemented 'Schedules' menu 2000-10-29 13:17:22 +01:00
Klaus Schmidinger
97c3bb6148 Remote control uses threads 2000-10-08 09:25:20 +02:00