s-osinte-mingw.ads: Add support for Ada.Execution_Time on Windows.
authorPascal Obry <obry@adacore.com>
Tue, 14 Aug 2007 08:44:02 +0000 (10:44 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 14 Aug 2007 08:44:02 +0000 (10:44 +0200)
commita2264f2d5402eae62020d5e7556fb1a5ebd28729
treec0fcdfb991e1fa07e98bedeff17e18a4ec61598a
parent43316a012f70cb4f549d4a0a512d9a9e7d632c03
s-osinte-mingw.ads: Add support for Ada.Execution_Time on Windows.

2007-08-14  Pascal Obry  <obry@adacore.com>

* s-osinte-mingw.ads: Add support for Ada.Execution_Time on Windows.
(SYSTEM_INFO): New record.
(SetThreadIdealProcessor): New imported routine needed for supporting
task_info pragma on Windows.

* s-taprop-mingw.adb (Enter_Task): Check if CPU number given in task
info can be applied to the current host.
(Create_Task): Set the ideal processor if information is present.

* s-tasinf-mingw.adb, s-tasinf-mingw.ads,
a-exetim-mingw.adb, a-exetim-mingw.ads: New files.

From-SVN: r127434
gcc/ada/a-exetim-mingw.adb [new file with mode: 0755]
gcc/ada/a-exetim-mingw.ads [new file with mode: 0755]
gcc/ada/s-osinte-mingw.ads
gcc/ada/s-taprop-mingw.adb
gcc/ada/s-tasinf-mingw.adb [new file with mode: 0644]
gcc/ada/s-tasinf-mingw.ads [new file with mode: 0644]