Ignore:
Timestamp:
Jul 12, 2014, 7:22:22 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
ed7a028
Parents:
7e119990
git-author:
Sebastian Huber <sebastian.huber@…> (07/12/14 19:22:22)
git-committer:
Joel Sherrill <joel.sherrill@…> (07/15/14 15:03:48)
Message:

rbtree: Reduce RBTree_Control size

Remove compare function and is unique indicator from the control
structure. Rename RBTree_Compare_function to RBTree_Compare. Rename
rtems_rbtree_compare_function to rtems_rbtree_compare. Provide C++
compatible initializers. Add compare function and is unique indicator
to _RBTree_Find(), _RBTree_Insert(), rtems_rbtree_find() and
rtems_rbtree_insert(). Remove _RBTree_Is_unique() and
rtems_rbtree_is_unique(). Remove compare function and is unique
indicator from _RBTree_Initialize_empty() and
rtems_rbtree_initialize_empty().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/scheduleredfchangepriority.c

    r7e119990 r64939bc  
    3333
    3434  _RBTree_Extract( &context->Ready, &node->Node );
    35   _RBTree_Insert( &context->Ready, &node->Node );
     35  _RBTree_Insert(
     36    &context->Ready,
     37    &node->Node,
     38    _Scheduler_EDF_Compare,
     39    false
     40  );
    3641
    3742  SCHEDULER_RETURN_VOID_OR_NULL;
Note: See TracChangeset for help on using the changeset viewer.