Ignore:
Timestamp:
Sep 3, 2015, 8:27:16 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
e1769f27
Parents:
3995e6d
git-author:
Sebastian Huber <sebastian.huber@…> (09/03/15 08:27:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/04/15 11:26:17)
Message:

score: Implement priority boosting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/threadqimpl.h

    r3995e6d rdafa5d88  
    523523
    524524/**
     525 * @brief Boosts the priority of the thread if threads of another scheduler
     526 * instance are enqueued on the thread queue.
     527 *
     528 * The thread queue must use the priority waiting discipline.
     529 *
     530 * @param[in] queue The actual thread queue.
     531 * @param[in] the_thread The thread to boost the priority if necessary.
     532 */
     533#if defined(RTEMS_SMP)
     534void _Thread_queue_Boost_priority(
     535  Thread_queue_Queue *queue,
     536  Thread_Control     *the_thread
     537);
     538#else
     539RTEMS_INLINE_ROUTINE void _Thread_queue_Boost_priority(
     540  Thread_queue_Queue *queue,
     541  Thread_Control     *the_thread
     542)
     543{
     544  (void) queue;
     545  (void) the_thread;
     546}
     547#endif
     548
     549/**
    525550 * @brief Compare two thread's priority for RBTree Insertion.
    526551 *
Note: See TracChangeset for help on using the changeset viewer.