summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-03-08 03:51:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-03-08 03:51:55 +0000
commitf926b34f663debae055330a9e54ee71fc1f65d12 (patch)
treed9d8885ae63c794d29645234955ba094f77617b0 /cpukit/score/include/rtems
parentModified calls to _Thread_Change_priority to take a third argument. The new (diff)
downloadrtems-f926b34f663debae055330a9e54ee71fc1f65d12.tar.bz2
Modified calls to _Thread_Change_priority to take a third argument. The new
argument indicates whether the task is to be placed at the head or tail of its priority fifo when it is lowering its own priority. POSIX normally follows the RTEMS API conventions but GNAT expects that all lowering of a task's priority by the task itself will result in being placed at the head of the priority FIFO. Normally, this would only occur as the result of lose of inherited priority.
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r--cpukit/score/include/rtems/score/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index c157f9b712..e50b05f80c 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -561,7 +561,8 @@ void _Thread_Delay_ended(
void _Thread_Change_priority (
Thread_Control *the_thread,
- Priority_Control new_priority
+ Priority_Control new_priority,
+ boolean prepend_it
);
/*