Ignore:
Timestamp:
May 2, 2012, 3:13:22 PM (9 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, 5, master
Children:
8572752
Parents:
bc96bad6
git-author:
Gedare Bloom <gedare@…> (05/02/12 15:13:22)
git-committer:
Gedare Bloom <gedare@…> (05/08/12 22:40:44)
Message:

score/rbtree: replace _RBTree_Peek_unprotected with _RBTree_First.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/inline/rtems/score/rbtree.inl

    rbc96bad6 r8712622  
    1111
    1212/*
    13  *  Copyright (c) 2010 Gedare Bloom.
     13 *  Copyright (c) 2010-2012 Gedare Bloom.
    1414 *
    1515 *  The license and distribution terms for this file may be
    1616 *  found in the file LICENSE in this distribution or at
    1717 *  http://www.rtems.com/license/LICENSE.
    18  *
    19  *  $Id$
    2018 */
    2119
     
    460458}
    461459
    462 /** @brief Peek at the First Node (unprotected)
    463  *
    464  *  This function returns a pointer to the first node, minimum if @a dir is 0
    465  *  or maximum if @a dir is 1, from @a the_rbtree without extracting it. 
    466  *  It does NOT disable interrupts to ensure the atomicity of the peek.
    467  *
    468  *  @retval NULL if @a the_rbtree is empty.
    469  */
    470 RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Peek_unprotected(
    471   const RBTree_Control *the_rbtree,
    472   RBTree_Direction dir
    473 )
    474 {
    475   return(the_rbtree->first[dir]);
    476 }
    477 
    478460/** @brief Rotate the_node in the direction passed as second argument
    479461 * 
Note: See TracChangeset for help on using the changeset viewer.