|
From: | Constantine Kousoulos |
Subject: | Re: task #5130 - random translator |
Date: | Mon, 12 Feb 2007 20:08:42 +0200 |
User-agent: | Icedove 1.5.0.9 (X11/20061220) |
Kenneth Ψstby wrote:
It seems like the correct way to go is to trap some sort of keyboard/network/interrupt. How is the right way to trap those ?
AFAIK, the correct way to trap those things is to modify the Mach kernel.
Now the next question, is there some documentation about the workings of MiG and any recommended code parts I can look at to see how the IPC is done?
As you have already found out, documentation is not one of Hurd's strong points. You can consult Carnegie Mellon's papers on Mach (http://www.cs.cmu.edu/afs/cs/project/mach/public/www/doc/documents_top.html) to get a general idea and anything relevant you can find at the official Hurd site (http://www.gnu.org/software/hurd/docs.html). However, IMHO, the best teacher is the source code itself. Take a look how translators use MiG and ask around in this list for clarifications. You can find many MiG definition files within the hurd subdirectory of the Hurd source code.
Btw, has anyone considered using the GNU Scientific Library (http://www.gnu.org/software/gsl/) in order to produce pseudo-random numbers?
Thanks, Constantine
[Prev in Thread] | Current Thread | [Next in Thread] |