summaryrefslogtreecommitdiff
path: root/patches/thread.c.diff
diff options
context:
space:
mode:
authorschmirl <schmirl>2008-04-07 14:27:27 +0000
committerschmirl <schmirl>2008-04-07 14:27:27 +0000
commitf51d6eb2dfb128a29db34b05d9b92a9633dd5b29 (patch)
tree328eeeb9761d13aede43a94598af3ffaedc9e202 /patches/thread.c.diff
parent71cc16a1eb1774f9f20f8eed03b17af3e8691edc (diff)
downloadvdr-plugin-streamdev-f51d6eb2dfb128a29db34b05d9b92a9633dd5b29.tar.gz
vdr-plugin-streamdev-f51d6eb2dfb128a29db34b05d9b92a9633dd5b29.tar.bz2
- removed legacy code for pre VDR 1.4
- dropped patches for pre VDR 1.4
Diffstat (limited to 'patches/thread.c.diff')
-rw-r--r--patches/thread.c.diff29
1 files changed, 0 insertions, 29 deletions
diff --git a/patches/thread.c.diff b/patches/thread.c.diff
deleted file mode 100644
index a03ffac..0000000
--- a/patches/thread.c.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- vdr-vanilla/thread.c 2003-10-10 18:19:15.000000000 +0200
-+++ vdr-vanilla-thread/thread.c 2003-10-10 18:43:36.000000000 +0200
-@@ -158,12 +158,21 @@
-
- bool cThread::Active(void)
- {
-- if (threadPid) {
-- if (kill(threadPid, SIGIO) < 0) { // couldn't find another way of checking whether the thread is still running - any ideas?
-- if (errno == ESRCH)
-- threadPid = 0;
-- else
-+ if (thread) {
-+ /*
-+ * Single UNIX Spec v2 says:
-+ *
-+ * The pthread_kill() function is used to request
-+ * that a signal be delivered to the specified thread.
-+ *
-+ * As in kill(), if sig is zero, error checking is
-+ * performed but no signal is actually sent.
-+ */
-+ int err;
-+ if ((err = pthread_kill(thread, 0)) != 0) {
-+ if (err != ESRCH)
- LOG_ERROR;
-+ thread = 0;
- }
- else
- return true;