Quote:Guan) writes:
t> I'm trying to write a scheduling daemon that takes over part of the
t> scheduling from the UNIX kernel. This is to make the os more
t> deterministic for certain critical applications.
You might as well forget it. Even if you can find out the magic
kernel data structures and so on that you need to tweak on one
revision of a single platform for a particular OS revision (and
assuming that just tweaking these happens to be sufficient for your
needs, which is very unlikely), the chances are excellent that your
code will break on the very next release, or if you move it to a
different version of the same CPU.
What you really want to do is run your application on a Unix variant
that supports real-time processes or threads. Since you originally
asked about Irix, you should look at the REACT/pro toolkit, which I
believe you can buy (or maybe get for free? I don't know) from SGI;
it adds some real-time features to Irix.
Several other Unix variants provide this sort of functionality with
the base OS (this is desirable, since it doesn't require buying some
non-standard component). At the very least, SVR4.2MP has some such
support; I believe Digital UNIX has some (at least, it has real-time
threads); and Solaris 2 has about the best real-time features of the
bunch. There may be others, but I don't know about them.
<b
--
Let us pray: