commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 93/98: trans/mtab: make the translator multithreaded


From: Samuel Thibault
Subject: [hurd] 93/98: trans/mtab: make the translator multithreaded
Date: Tue, 14 Jan 2014 02:00:05 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 3b016a709dd4be5a978dbc8f04b49289612b5be9
Author: Justus Winter <address@hidden>
Date:   Thu Nov 14 15:04:57 2013 +0100

    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(-)

diff --git a/trans/mtab.c b/trans/mtab.c
index 5a5a07d..adfb345 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
     {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]