From 3b016a709dd4be5a978dbc8f04b49289612b5be9 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Thu, 14 Nov 2013 15:04:57 +0100 Subject: trans/mtab: make the translator multithreaded * trans/mtab.c (main): Use ports_manage_port_operations_multithread. --- trans/mtab.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'trans/mtab.c') 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 { -- cgit v1.2.3