aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tvheadend-git/0001-replace-pthread_yield-with-POSIX-sched_yield.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tvheadend-git/0001-replace-pthread_yield-with-POSIX-sched_yield.patch')
-rw-r--r--testing/tvheadend-git/0001-replace-pthread_yield-with-POSIX-sched_yield.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/testing/tvheadend-git/0001-replace-pthread_yield-with-POSIX-sched_yield.patch b/testing/tvheadend-git/0001-replace-pthread_yield-with-POSIX-sched_yield.patch
deleted file mode 100644
index d57a5f7e4e..0000000000
--- a/testing/tvheadend-git/0001-replace-pthread_yield-with-POSIX-sched_yield.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 54df37222a72233b471fa44ee8d2beaff0d2dfd8 Mon Sep 17 00:00:00 2001
-From: Carlo Landmeter <clandmeter@gmail.com>
-Date: Fri, 13 May 2016 00:24:14 +0200
-Subject: [PATCH] replace pthread_yield with POSIX sched_yield
-
-See: http://linux.die.net/man/3/pthread_yield
----
- src/api/api_idnode.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/api/api_idnode.c b/src/api/api_idnode.c
-index fa9edb3..eb41646 100644
---- a/src/api/api_idnode.c
-+++ b/src/api/api_idnode.c
-@@ -651,7 +651,7 @@ api_idnode_handler
- }
- pthread_mutex_unlock(&global_lock);
- if (destroyed)
-- pthread_yield(); /* delete penalty */
-+ sched_yield(); /* delete penalty */
- }
- htsmsg_destroy(msg);
-
---
-2.8.2
-