summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2006-08-20 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2006-08-20 18:00:00 +0200
commit0e310c57a4af9e3b3bc87816a60b01790e2c6b89 (patch)
treeb2a129d6049c49f836fb180f4fb6569f3ae5f421 /thread.c
parentf5ad8fc5d7679433faf6a7465b5cfd54a7c10f8b (diff)
downloadvdr-patch-lnbsharing-0e310c57a4af9e3b3bc87816a60b01790e2c6b89.tar.gz
vdr-patch-lnbsharing-0e310c57a4af9e3b3bc87816a60b01790e2c6b89.tar.bz2
Version 1.4.1-5vdr-1.4.1-5
- Replaced the "quick workaround for additional live audio PIDs" in cDvbDevice::SetChannelDevice() with an actual solution in cDvbDevice::SetAudioTrackDevice() in order to prevent sticky PIDs in CAMs, which caused long switching times or completely blank screens when switching between encrypted channels on the same transponder (reported by Tomas Berglund). - Adapted cThread::ThreadId() to recent kernels (thanks to Ville Skyttä). - Added --remove-destination to the 'cp' command for binaries in the Makefile to avoid a crash in case a new version is installed on a running system (suggested by Petri Hintukainen). - Fixed handling "Ca Info" in case the CAM sends this again if the smart card is replaced with a different one.
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/thread.c b/thread.c
index 1749fc1..8b6e58f 100644
--- a/thread.c
+++ b/thread.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: thread.c 1.56 2006/06/24 10:10:58 kls Exp $
+ * $Id: thread.c 1.57 2006/08/20 10:20:44 kls Exp $
*/
#include "thread.h"
@@ -316,11 +316,9 @@ bool cThread::EmergencyExit(bool Request)
return emergencyExitRequested = true; // yes, it's an assignment, not a comparison!
}
-_syscall0(pid_t, gettid)
-
tThreadId cThread::ThreadId(void)
{
- return gettid();
+ return syscall(__NR_gettid);
}
void cThread::SetMainThreadId(void)