summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-14 15:04:57 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-12 15:59:23 +0100
commit3b016a709dd4be5a978dbc8f04b49289612b5be9 (patch)
tree8717e60476f1a3e8d86c0e4a8a74a75564c2bc78 /trans
parentc31404533f2fb70efd40d7b56d8165e2ab8bd160 (diff)
trans/mtab: make the translator multithreaded
* trans/mtab.c (main): Use ports_manage_port_operations_multithread.
Diffstat (limited to 'trans')
-rw-r--r--trans/mtab.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/trans/mtab.c b/trans/mtab.c
index 5a5a07df..adfb3458 100644
--- a/trans/mtab.c
+++ b/trans/mtab.c
@@ -235,9 +235,13 @@ main (int argc, char *argv[])
error (4, err, "trivfs_startup");
/* Launch. */
- ports_manage_port_operations_one_thread (control->pi.bucket,
- trivfs_demuxer,
- 0);
+ ports_manage_port_operations_multithread (control->pi.bucket,
+ trivfs_demuxer,
+ /* idle thread timeout */
+ 30 * 1000,
+ /* idle server timeout */
+ 0,
+ NULL);
}
else
{