diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2010-07-24 12:57:20 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2010-07-24 12:57:20 +0200 |
commit | 3c2fe7df58c5c6006caab689f4efbd313ad0680c (patch) | |
tree | bdddad5f4fedb687507deab8e676aa7a848ce73d /hurd | |
parent | 883d6915a37f0266479c9b25d8c911ce1e66d315 (diff) |
hurd/translator: _demuxer functions.
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/translator.mdwn | 25 |
1 files changed, 25 insertions, 0 deletions
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 + + <jim-crow> what is a main idea of _demuxer functions in translators? + <neal> jim-crow: Think of a web server. + <neal> jim-crow: A typical web server must process many different requests. + <neal> jim-crow: There are different types of requests. + <neal> jim-crow: For instance, static pages and dynamically gnereated content. + <neal> the static pages are processed by one function + <neal> and the dynamic pages by another + <neal> the thing that makes the decision which of these functions to pass the request to is the demuxer. + <jim-crow> neal: ok, I see + <jim-crow> but what is actually it doing in trivfs_demuxer? + <neal> it looks at the message id and calls the right server stub + <jim-crow> for example it calls trivfs_io_server function, but I can't find its implementation + <jim-crow> that's my main question :-) + <neal> look at the files mig generates + <jim-crow> neal: ok, thanks + <jim-crow> neal: is this functions where actually stubs are called? + <neal> I think so. |