xbmc: remove patch which crashes xbmc on RPi

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-10-16 14:30:55 +02:00
parent 4a82afe95b
commit f42ad08af0

View File

@ -1786,28 +1786,6 @@ index c216ce5..7235cb4 100644
CDroppingStats::CGain gain;
gain.gain = iGain;
From 836b6b8bf9db684d2da80b8a731cda1cad936ceb Mon Sep 17 00:00:00 2001
From: Rainer Hochecker <fernetmenta@online.de>
Date: Sun, 28 Sep 2014 13:52:11 +0200
Subject: [PATCH 18/21] pthreads: use mutex protocol PTHREAD_PRIO_INHERIT
---
xbmc/threads/platform/pthreads/Implementation.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/xbmc/threads/platform/pthreads/Implementation.cpp b/xbmc/threads/platform/pthreads/Implementation.cpp
index 628db54..123526d 100644
--- a/xbmc/threads/platform/pthreads/Implementation.cpp
+++ b/xbmc/threads/platform/pthreads/Implementation.cpp
@@ -38,6 +38,7 @@ namespace XbmcThreads
{
pthread_mutexattr_init(&recursiveAttr);
pthread_mutexattr_settype(&recursiveAttr,PTHREAD_MUTEX_RECURSIVE);
+ pthread_mutexattr_setprotocol(&recursiveAttr,PTHREAD_PRIO_INHERIT);
alreadyCalled = true;
}
return true; // note, we never call destroy.
From 39d509822eb5868fd66e3b844f3869f77fc95a82 Mon Sep 17 00:00:00 2001
From: Rainer Hochecker <fernetmenta@online.de>
Date: Sat, 4 Oct 2014 21:25:31 +0200