RCS file: /usr1/CVS/rtems/cpukit/sapi/inline/rtems/chain.inl,v
retrieving revision 1.3
diff -u -r1.3 chain.inl
|
|
|
296 | 296 | _Chain_Append( the_chain, the_node ); |
297 | 297 | } |
298 | 298 | |
| 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 | */ |
| 307 | RTEMS_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 | |
299 | 315 | /** @brief Prepend a Node |
300 | 316 | * |
301 | 317 | * This routine prepends the_node onto the front of the_chain. |
… |
… |
|
314 | 330 | _Chain_Prepend( the_chain, the_node ); |
315 | 331 | } |
316 | 332 | |
| 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 | */ |
| 343 | RTEMS_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 | |
317 | 351 | #endif |
318 | 352 | /* end of include file */ |