comp.lang.ada
 help / color / mirror / Atom feed
* Ada Task Priorities (Windows vs Linux)
@ 2006-04-12 15:24 AAFellow
  2006-04-12 17:08 ` Robert A Duff
  0 siblings, 1 reply; 5+ messages in thread
From: AAFellow @ 2006-04-12 15:24 UTC (permalink / raw)


Hi Everyone,

How are tasks prioritized in Ada when running on Linux (compared to
Windows).  I wrote a small test program that I ran in Windows, and it
seems that the higher the number that I set the task's priority to, the
higher the priority that is given to that task (I thought the opposite
was true?)

In Linux (using GNAT complier), how are the priorities mapped?  I know
a lower number means a higher priority, with a range of -20 to 19 and a
default of 0.  Do we just use these same numbers in the Ada code when
setting the priorities of the tasks?

Also, (so we can verify we have set the priorities correctly) does
Linux provide a way to actually see what priority the OS has given to
tasks that the Ada code has started?  Are there any tools availible
that can do this? 
  
thanks guys!

AA




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-17 12:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2006-04-17 12:14       ` Alex R. Mosteo

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