From 3c2fe7df58c5c6006caab689f4efbd313ad0680c Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 24 Jul 2010 12:57:20 +0200 Subject: hurd/translator: _demuxer functions. --- hurd/translator.mdwn | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'hurd/translator.mdwn') diff --git a/hurd/translator.mdwn b/hurd/translator.mdwn index dc3fd256..75020cb2 100644 --- a/hurd/translator.mdwn +++ b/hurd/translator.mdwn @@ -114,3 +114,28 @@ Read about translator [[short-circuiting]]. * [[wishlist_1]] * [[wishlist_2]] + + +# Internally + +## `*_demuxer` Functions + + * IRC, unknown channel, unknown date + + what is a main idea of _demuxer functions in translators? + jim-crow: Think of a web server. + jim-crow: A typical web server must process many different requests. + jim-crow: There are different types of requests. + jim-crow: For instance, static pages and dynamically gnereated content. + the static pages are processed by one function + and the dynamic pages by another + the thing that makes the decision which of these functions to pass the request to is the demuxer. + neal: ok, I see + but what is actually it doing in trivfs_demuxer? + it looks at the message id and calls the right server stub + for example it calls trivfs_io_server function, but I can't find its implementation + that's my main question :-) + look at the files mig generates + neal: ok, thanks + neal: is this functions where actually stubs are called? + I think so. -- cgit v1.2.3