diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2012-07-09 15:24:20 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2012-07-09 15:24:20 +0200 |
commit | d27f3ff4c3165d5decf103e63336095730745f82 (patch) | |
tree | 9eff2140d9be62222e4ed1d9c4ac35cdd16917ce /gcc/ada/s-taprop-mingw.adb | |
parent | d48f3dca79fe7cd124c90d33dcc88b2147e23856 (diff) | |
download | gcc-d27f3ff4c3165d5decf103e63336095730745f82.zip gcc-d27f3ff4c3165d5decf103e63336095730745f82.tar.gz gcc-d27f3ff4c3165d5decf103e63336095730745f82.tar.bz2 |
[multiple changes]
2012-07-09 Robert Dewar <dewar@adacore.com>
* freeze.adb: Minor code reorganization (use Ekind_In).
* exp_attr.adb, sem_ch9.adb par-ch4.adb, s-taprop-mingw.adb,
sem_attr.adb, exp_ch8.adb, snames.adb-tmpl, par-util.adb,
sem_ch13.adb, snames.ads-tmpl: Minor reformatting.
2012-07-09 Tristan Gingold <gingold@adacore.com>
* raise-gcc.c: Adjust previous patch.
2012-07-09 Vincent Celier <celier@adacore.com>
* make.adb (Compilation_Phase): Do not build libraries in
Codepeer mode (do not call Library_Phase).
From-SVN: r189379
Diffstat (limited to 'gcc/ada/s-taprop-mingw.adb')
-rw-r--r-- | gcc/ada/s-taprop-mingw.adb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ada/s-taprop-mingw.adb b/gcc/ada/s-taprop-mingw.adb index 8b38ad8..75d81cb 100644 --- a/gcc/ada/s-taprop-mingw.adb +++ b/gcc/ada/s-taprop-mingw.adb @@ -725,15 +725,17 @@ package body System.Task_Primitives.Operations is pragma Unreferenced (Loss_Of_Inheritance); begin - Res := SetThreadPriority - (T.Common.LL.Thread, Interfaces.C.int (Underlying_Priorities (Prio))); + Res := + SetThreadPriority + (T.Common.LL.Thread, + Interfaces.C.int (Underlying_Priorities (Prio))); pragma Assert (Res = Win32.TRUE); -- Note: Annex D (RM D.2.3(5/2)) requires the task to be placed at the -- head of its priority queue when decreasing its priority as a result -- of a loss of inherited priority. This is not the case, but we - -- consider it an acceptable variation (RM 1.1.3(6)), given this is the - -- built-in behavior offered by the Windows operating system. + -- consider it an acceptable variation (RM 1.1.3(6)), given this is + -- the built-in behavior offered by the Windows operating system. -- In older versions we attempted to better approximate the Annex D -- required behavior, but this simulation was not entirely accurate, |