comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Ada Task Priorities (Windows vs Linux)
Date: 13 Apr 2006 21:16:31 -0400
Date: 2006-04-13T21:16:31-04:00	[thread overview]
Message-ID: <wccfykhj6s0.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 1144963600.855367.284280@e56g2000cwe.googlegroups.com

"AAFellow@hotmail.com" <AAFellow@hotmail.com> writes:

> Hi,
> 
> Thanks for the help....

You're welcome.

> ...I just ran some test code (which I also ran on windows), and it
> seemed that on Linux the priorities set in the code have absolutely no
> effect on how the code runs, whereas on windows, the effect is obvious.
>  I'm looking into this now.

Priorities can be tricky.  You need to understand whether the Systems
Programming and/or Real Time annexes are in effect, and what the
policies are.  Read the compiler documentation.  You need to know how
many CPUs you have.  On some operating systems, you might need to run in
supervisor mode in order to get strict real-time priorities.

- Bob



  reply	other threads:[~2006-04-14  1:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-12 15:24 Ada Task Priorities (Windows vs Linux) AAFellow
2006-04-12 17:08 ` Robert A Duff
2006-04-13 21:26   ` AAFellow
2006-04-14  1:16     ` Robert A Duff [this message]
2006-04-17 12:14       ` Alex R. Mosteo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox