diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-22 17:09:56 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-07-27 10:55:30 +0200 |
commit | f4d1f307926b6319e5d3b325dbe424901285dec1 (patch) | |
tree | 13e802a1cf18f2f588b3c61c686b49d4eb5b80f3 /cpukit/score/include | |
parent | score: Fix for RTEMS_DEBUG (diff) | |
download | rtems-f4d1f307926b6319e5d3b325dbe424901285dec1.tar.bz2 |
score: Split _Thread_Change_priority()
Update #2412.
Update #2556.
Update #2765.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r-- | cpukit/score/include/rtems/score/threadimpl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index ec82b917e9..5323e2c85b 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -460,6 +460,16 @@ typedef bool ( *Thread_Change_priority_filter )( void *arg ); +Thread_Control *_Thread_Apply_priority( + Thread_Control *the_thread, + Priority_Control new_priority, + void *arg, + Thread_Change_priority_filter filter, + bool prepend_it +); + +void _Thread_Update_priority( Thread_Control *the_thread ); + /** * @brief Changes the priority of a thread if allowed by the filter function. * |