aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mythtv/files/patch-programs__mythbackend__mainserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mythtv/files/patch-programs__mythbackend__mainserver.cpp')
-rw-r--r--multimedia/mythtv/files/patch-programs__mythbackend__mainserver.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/multimedia/mythtv/files/patch-programs__mythbackend__mainserver.cpp b/multimedia/mythtv/files/patch-programs__mythbackend__mainserver.cpp
new file mode 100644
index 000000000000..b30aff5b2b9e
--- /dev/null
+++ b/multimedia/mythtv/files/patch-programs__mythbackend__mainserver.cpp
@@ -0,0 +1,34 @@
+--- ./programs/mythbackend/mainserver.cpp.orig 2008-03-02 23:47:04.000000000 -0500
++++ ./programs/mythbackend/mainserver.cpp 2009-02-23 09:59:26.000000000 -0500
+@@ -251,7 +251,7 @@
+ return;
+ }
+
+- readReadyLock.lock();
++ // readReadyLock.lock();
+
+ ProcessRequestThread *prt = NULL;
+ threadPoolLock.lock();
+@@ -278,19 +278,19 @@
+
+ prt->setup(sock);
+
+- readReadyLock.unlock();
++ // readReadyLock.unlock();
+ }
+
+ void MainServer::ProcessRequest(MythSocket *sock)
+ {
+- sock->Lock();
++ // sock->Lock();
+
+ if (sock->bytesAvailable() > 0)
+ {
+ ProcessRequestWork(sock);
+ }
+
+- sock->Unlock();
++ // sock->Unlock();
+ }
+
+ void MainServer::ProcessRequestWork(MythSocket *sock)