From 4fa5c2b40a6b91ea3956a807ba09adba28ef18cb Mon Sep 17 00:00:00 2001 From: Diego Nieto Cid Date: Sun, 30 Oct 2011 18:00:45 -0300 Subject: id:"20111030210045.GA4983@myhost". --- hurd/libports.mdwn | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'hurd/libports.mdwn') diff --git a/hurd/libports.mdwn b/hurd/libports.mdwn index 28274338..0ec0596c 100644 --- a/hurd/libports.mdwn +++ b/hurd/libports.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2010, 2011 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -18,3 +18,13 @@ provide an interface independently of the underlying [[microkernel]]. *libports* does not itself depend on *[[libthreads]]*, but the appropriate threading hooks are used if present, that is if *[[libthreads]]* is used by another component. + + +# Message Processing + +## `ports_manage_multithreaded` + +When a message is recieved, the thread acting as receiver checks if any other +thread is also waiting for requests. If there is none, a new thread is +spawned. Thus, the current thread continues processing the message while the +newly created thread starts listening for new ones. -- cgit v1.2.3 From 26d86a6a7e67e81ae5d02bfdb0d4363f2e741baa Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 24 Nov 2011 09:24:02 +0100 Subject: Link some things. --- hurd/libports.mdwn | 9 ++++++++- open_issues/multithreading.mdwn | 2 +- shortcuts.mdwn | 7 +++++++ 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'hurd/libports.mdwn') diff --git a/hurd/libports.mdwn b/hurd/libports.mdwn index 0ec0596c..6f2cd46d 100644 --- a/hurd/libports.mdwn +++ b/hurd/libports.mdwn @@ -27,4 +27,11 @@ another component. When a message is recieved, the thread acting as receiver checks if any other thread is also waiting for requests. If there is none, a new thread is spawned. Thus, the current thread continues processing the message while the -newly created thread starts listening for new ones. +newly created thread starts listening for new ones. ([[!taglink +open_issue_hurd]]: [[open_issues/multithreading]].) + +Also, there are configurable timeouts for [[translator]]s who want to go away +when they are not used. ([[!taglink open_issue_hurd]]: there used to be bugs +in this area, [[!message-id "87hev152we.fsf@becket.becket.net"]], but it may be +fixed as of [[!message-id "20111030210045.GA4983@myhost"]], +[[!GNU_Savannah_Git_hurd_hurd 9b5429e834cde56f73b8ff605e36afc7d9bb6e1b]].) diff --git a/open_issues/multithreading.mdwn b/open_issues/multithreading.mdwn index 1fc2c318..0f6b9f19 100644 --- a/open_issues/multithreading.mdwn +++ b/open_issues/multithreading.mdwn @@ -24,7 +24,7 @@ Hurd servers / VFS libraries are multithreaded. # Design -Roughly using one thread per +See [[hurd/libports]]: roughly using one thread per incoming request. This is not the best approach: it doesn't really make sense to scale the number of worker threads with the number of incoming requests, but instead they should be scaled according to the backends' characteristics. diff --git a/shortcuts.mdwn b/shortcuts.mdwn index b62b2981..fd4d4dee 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -87,6 +87,13 @@ ikiwiki will include your shortcut in the standard underlay. * [[!shortcut name=FF_project url="http://www.fossfactory.org/project/p%s" desc="FOSS Factory bounty (p%s)"]] +## Savannah + + * [[!shortcut name=GNU_Savannah_Git_hurd_hurd + url="http://git.savannah.gnu.org/cgit/hurd/hurd.git/commit/?id=%s" + desc="hurd/hurd.git commit %s"]] + + ## Notmuch'n'Gmane. * [[!shortcut name=message-id url="http://thread.gmane.org/%s" desc="""`id:"%s"`"""]] -- cgit v1.2.3