Changeset 906dd57 in rtems


Ignore:
Timestamp:
Nov 13, 2008, 3:10:24 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
2fafea2
Parents:
b8b0920
Message:

2008-11-13 Joel Sherrill <joel.sherrill@…>

PR 1336/cpukit

  • sapi/inline/rtems/chain.inl: Add rtems_chain_prepend_unprotected and rtems_chain_append_unprotected.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rb8b0920 r906dd57  
     12008-11-13      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1336/cpukit
     4        * sapi/inline/rtems/chain.inl: Add rtems_chain_prepend_unprotected and
     5        rtems_chain_append_unprotected.
     6
    172008-11-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/sapi/inline/rtems/chain.inl

    rb8b0920 r906dd57  
    297297}
    298298
     299/**
     300 *  @brief Append a node on the end of a chain (unprotected)
     301 *
     302 *  This routine appends @a the_node onto the end of @a the_chain.
     303 *
     304 *  @note It does NOT disable interrupts to ensure the atomicity of the
     305 *  append operation.
     306 */
     307RTEMS_INLINE_ROUTINE void rtems_chain_append_unprotected(
     308  rtems_chain_control *the_chain,
     309  rtems_chain_node    *the_node
     310)
     311{
     312  _Chain_Append_unprotected( the_chain, the_node );
     313}
     314
    299315/** @brief Prepend a Node
    300316 *
     
    315331}
    316332
     333/** @brief Prepend a Node (unprotected)
     334 *
     335 *  This routine prepends the_node onto the front of the_chain.
     336 *
     337 *  @param[in] the_chain is the chain to be operated upon.
     338 *  @param[in] the_node is the node to be prepended.
     339 *
     340 *  @note It does NOT disable interrupts to ensure the atomicity of the
     341 *        prepend operation.
     342 */
     343RTEMS_INLINE_ROUTINE void rtems_chain_prepend_unprotected(
     344  rtems_chain_control *the_chain,
     345  rtems_chain_node    *the_node
     346)
     347{
     348  _Chain_Prepend_unprotected( the_chain, the_node );
     349}
     350
    317351#endif
    318352/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.