Running real-time Ada applications on XP

  • Thread starter Thread starter Yngve Mare
  • Start date Start date
Y

Yngve Mare

We are developing a real-time application written in Ada in the GNAT
environment. For different reasons we have chosen to run it under Windows
XP. We have heard from different sources that this is not a good
combination, XP will interfere with the different task priorities we have
set in our application. This also seems to be the case when we test our
application.
Is there a way to handle this, e.g. setting som parameters somewhere in XP
to allow the application to get more "control"?

We are running on a two-processor platform, is there a way to decide which
task to be run on wich processor? I mean the separate Ada-tasks, not the
application process.

Regards,
/Yngve
 
Yngve Mare:

# We are developing a real-time application written in Ada in the GNAT
# environment. For different reasons we have chosen to run it under Windows
# XP. We have heard from different sources that this is not a good
# combination, XP will interfere with the different task priorities we have
# set in our application. This also seems to be the case when we test our
# application.
# Is there a way to handle this, e.g. setting som parameters somewhere in XP
# to allow the application to get more "control"?

No clue here, but you may consider asking on or
the GNAT support (depending on your status as client...)
We are running on a two-processor platform, is there a way to decide which
task to be run on wich processor? I mean the separate Ada-tasks, not the
application process.

In the GNAT's RM there is:

pragma Task_Info
Syntax

pragma Task_Info (EXPRESSION);

This pragma appears within a task definition (like pragma Priority) and
applies to the task in which it appears. The argument must be of type
System.Task_Info.Task_Info_Type. The Task_Info pragma provides system
dependent control over aspect of tasking implementation, for example, the
-> ability to map tasks to specific processors. For details on the facilities
available for the version of GNAT that you are using, see the documentation
in the specification of package System.Task_Info in the runtime library.

HTH
______________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!
 
Gautier said:
Yngve Mare:

# We are developing a real-time application written in Ada in the GNAT
# environment. For different reasons we have chosen to run it under Windows
# XP. We have heard from different sources that this is not a good
# combination, XP will interfere with the different task priorities we have
# set in our application. This also seems to be the case when we test our
# application.
# Is there a way to handle this, e.g. setting som parameters somewhere in XP
# to allow the application to get more "control"?

No clue here, but you may consider asking on or
the GNAT support (depending on your status as client...)


In the GNAT's RM there is:

pragma Task_Info
Syntax

pragma Task_Info (EXPRESSION);

This pragma appears within a task definition (like pragma Priority) and
applies to the task in which it appears. The argument must be of type
System.Task_Info.Task_Info_Type. The Task_Info pragma provides system
dependent control over aspect of tasking implementation, for example, the
-> ability to map tasks to specific processors. For details on the facilities
available for the version of GNAT that you are using, see the documentation
in the specification of package System.Task_Info in the runtime library.

HTH
______________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!

Thanks, I will try that pragma.

/Yngve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top