summaryrefslogtreecommitdiff
path: root/debian/patches/libports_stability.patch
blob: 84edc491216e17b57404a9b0166292bd88f8fac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Ideally we should be able to time out and see translators go away automatically,
however it makes all threads often wake at the same time and overload Mach.

---
 libports/manage-multithread.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/libports/manage-multithread.c
+++ b/libports/manage-multithread.c
@@ -157,6 +157,8 @@ ports_manage_port_operations_multithread
       return 0;
     }
 
+  thread_timeout = global_timeout = 0; /* XXX */
+
   nreqthreads = 1;
   totalthreads = 1;
   thread_function (1);