comp.lang.ada
 help / color / mirror / Atom feed
From: "AAFellow@hotmail.com" <AAFellow@hotmail.com>
Subject: Ada Task Priorities (Windows vs Linux)
Date: 12 Apr 2006 08:24:15 -0700
Date: 2006-04-12T08:24:15-07:00	[thread overview]
Message-ID: <1144855455.401847.282300@i40g2000cwc.googlegroups.com> (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




             reply	other threads:[~2006-04-12 15:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-12 15:24 AAFellow [this message]
2006-04-12 17:08 ` Ada Task Priorities (Windows vs Linux) 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
replies disabled

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