diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-08-11 10:26:57 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-08-11 11:13:42 +0200 |
commit | 424ffe4db039878eae13428d1ddeeb4a7c7f47fe (patch) | |
tree | 8f6e984f0f0c386e3c7aa58b9fb817aba6e56ea2 /cpukit/score/include/rtems/score/threadqimpl.h | |
parent | score: Dismantle _Thread_queue_Do_extract_locked() (diff) | |
download | rtems-424ffe4db039878eae13428d1ddeeb4a7c7f47fe.tar.bz2 |
score: Introduce thread queue surrender operation
This is an optimization for _Thread_queue_Surrender(). It helps to
encapsulate the priority boosting in the priority inheritance thread
queue operations.
Diffstat (limited to 'cpukit/score/include/rtems/score/threadqimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/threadqimpl.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/cpukit/score/include/rtems/score/threadqimpl.h b/cpukit/score/include/rtems/score/threadqimpl.h index 8137800841..8a3b991516 100644 --- a/cpukit/score/include/rtems/score/threadqimpl.h +++ b/cpukit/score/include/rtems/score/threadqimpl.h @@ -946,31 +946,6 @@ RTEMS_INLINE_ROUTINE void _Thread_queue_Destroy( #endif } -/** - * @brief Boosts the priority of the thread if threads of another scheduler - * instance are enqueued on the thread queue. - * - * The thread queue must use the priority waiting discipline. - * - * @param[in] queue The actual thread queue. - * @param[in] the_thread The thread to boost the priority if necessary. - */ -#if defined(RTEMS_SMP) -void _Thread_queue_Boost_priority( - Thread_queue_Queue *queue, - Thread_Control *the_thread -); -#else -RTEMS_INLINE_ROUTINE void _Thread_queue_Boost_priority( - Thread_queue_Queue *queue, - Thread_Control *the_thread -) -{ - (void) queue; - (void) the_thread; -} -#endif - #if defined(RTEMS_MULTIPROCESSING) void _Thread_queue_MP_callout_do_nothing( Thread_Control *the_proxy, |