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.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/libports_stability.patch b/debian/patches/libports_stability.patch
new file mode 100644
index 00000000..4452807c
--- /dev/null
+++ b/debian/patches/libports_stability.patch
@@ -0,0 +1,20 @@
+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(+)
+
+Index: hurd-debian/libports/manage-multithread.c
+===================================================================
+--- hurd-debian.orig/libports/manage-multithread.c 2012-11-26 00:23:22.000000000 +0000
++++ hurd-debian/libports/manage-multithread.c 2012-11-26 00:25:28.000000000 +0000
+@@ -243,6 +243,8 @@
+ return NULL;
+ }
+
++ thread_timeout = global_timeout = 0; /* XXX */
++
+ nreqthreads = 1;
+ totalthreads = 1;
+ thread_function ((void *) 1);