summaryrefslogtreecommitdiff
path: root/debian/patches/libports_stability.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/libports_stability.patch')
-rw-r--r--debian/patches/libports_stability.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/libports_stability.patch b/debian/patches/libports_stability.patch
new file mode 100644
index 00000000..84edc491
--- /dev/null
+++ b/debian/patches/libports_stability.patch
@@ -0,0 +1,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);