Klaus Schmidinger
|
f38b7871ad
|
Added a missing #include <linux/unistd.h> to thread.c
|
2006-01-08 16:05:23 +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
|
dbc2abadd8
|
Fixed initializing pthread_mutexattr_t and pthread_rwlockattr_t to avoid warnings with g++ 4.1.0
|
2006-01-01 14:53:03 +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
|
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
|
9f7166a891
|
Fixed timeout handling in cRwLock::Lock()
|
2005-05-06 14:43:17 +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
|
5c6ed74aff
|
Fixed the spelling of 'canceling'
|
2004-11-26 14:18:22 +01:00 |
|
Klaus Schmidinger
|
eb8405695b
|
Some more changes to the 'childTid' handling in cThread
|
2004-11-26 14:05:36 +01:00 |
|
Klaus Schmidinger
|
c33dccf9ba
|
Fixed handling childTid in cThread to avoid possible race conditions
|
2004-11-20 16:27:18 +01:00 |
|
Klaus Schmidinger
|
4f67ade2dc
|
Now calling pthread_cond_broadcast() in the desctructor of cCondWait and cCondVar; using pthread_cond_broadcast() instead of pthread_cond_signal() in cCondWait
|
2004-10-31 09:54:50 +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
|
25154b6245
|
Fixed a memory leak in thread handling when using NPTL
|
2004-03-14 16:51:13 +01: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
|
435ee39812
|
Fixed setting the locking pid after a timed wait
|
2003-05-18 12:46:39 +02:00 |
|
Klaus Schmidinger
|
2cd7928fc6
|
Removed the (no longer necessary) 'panic' stuff from cThread
|
2003-05-03 14:08:28 +02:00 |
|
Klaus Schmidinger
|
2e26a1d607
|
Fixed closing all dup'ed file descriptors in cPipe
|
2002-11-02 14:00:25 +01: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
|
d4893ad1fe
|
Improved the [eid]syslog() macros
|
2002-05-13 16:35:49 +02:00 |
|
Klaus Schmidinger
|
ac5aecb8eb
|
Fixed 'zombie' processes when closing a pipe
|
2002-03-09 11:51:56 +01:00 |
|
Klaus Schmidinger
|
db7f6ee619
|
Accessing Schedules data directly via cSIProcessor
|
2002-02-23 13:55:57 +01:00 |
|
Klaus Schmidinger
|
aaf792357d
|
Fixed closing all unused file descriptors when opening a pipe
|
2002-02-17 14:51:29 +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
|
74016967e4
|
Fixed handling trick modes near the beginning and end of a recording
|
2001-10-21 13:36:27 +02:00 |
|
Klaus Schmidinger
|
60ee85bf17
|
Closing all open file descriptors when calling external programs
|
2001-10-20 10:39:27 +02:00 |
|
Klaus Schmidinger
|
34e6eaad58
|
Fixed setting the locking PID in cMutex
|
2001-09-23 14:19:39 +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
|
4e354bc9a0
|
Implemented 'on disk editing'
|
2000-12-28 12:57:16 +01:00 |
|
Klaus Schmidinger
|
6b0658a977
|
Switched to PES recording
|
2000-12-08 16:23:32 +01:00 |
|
Klaus Schmidinger
|
c50513accd
|
Typecast for gcc-2.96 (under Mandrake)
|
2000-11-22 17:11:04 +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
|
ff109a90a6
|
Stopping remote control thread at end
|
2000-10-08 16:49:41 +02:00 |
|