summaryrefslogtreecommitdiff
path: root/gcc/ada/s-taprop.ads
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-14 08:52:21 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-14 08:52:21 +0000
commitd0b175bffc2f2cb91d1fb529b7c36d3e984d9594 (patch)
treeeb438cb5c7cabed8d102b2c0c1bdd1b0aebb59eb /gcc/ada/s-taprop.ads
parent5e3123db0a9b4c8def9fee64446b130ce81ace45 (diff)
downloadgcc-d0b175bffc2f2cb91d1fb529b7c36d3e984d9594.tar.gz
2011-12-14 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 182322 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@182325 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-taprop.ads')
-rw-r--r--gcc/ada/s-taprop.ads9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/s-taprop.ads b/gcc/ada/s-taprop.ads
index 12fbd71386e..6f15ce7f55e 100644
--- a/gcc/ada/s-taprop.ads
+++ b/gcc/ada/s-taprop.ads
@@ -313,10 +313,11 @@ package System.Task_Primitives.Operations is
procedure Yield (Do_Yield : Boolean := True);
pragma Inline (Yield);
- -- Yield the processor. Add the calling task to the tail of the ready
- -- queue for its active_priority. The Do_Yield argument is only used in
- -- some very rare cases very a yield should have an effect on a specific
- -- target and not on regular ones.
+ -- Yield the processor. Add the calling task to the tail of the ready queue
+ -- for its active_priority. On most platforms, Yield is a no-op if Do_Yield
+ -- is False. But on some platforms (notably VxWorks), Do_Yield is ignored.
+ -- This is only used in some very rare cases where a Yield should have an
+ -- effect on a specific target and not on regular ones.
procedure Set_Priority
(T : ST.Task_Id;