forked from Imagelibrary/rtems
2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/inline/rtems/chain.inl: Added rtems_chain_extract_unprotected().
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
|
* sapi/inline/rtems/chain.inl: Added
|
||||||
|
rtems_chain_extract_unprotected().
|
||||||
|
|
||||||
2010-08-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2010-08-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* posix/include/aio.h, posix/src/aio_return.c:
|
* posix/include/aio.h, posix/src/aio_return.c:
|
||||||
|
|||||||
@@ -365,6 +365,21 @@ RTEMS_INLINE_ROUTINE void rtems_chain_extract(
|
|||||||
_Chain_Extract( the_node );
|
_Chain_Extract( the_node );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Extract the specified node from a chain (unprotected).
|
||||||
|
*
|
||||||
|
* This routine extracts @a the_node from the chain on which it resides.
|
||||||
|
*
|
||||||
|
* @note It does NOT disable interrupts to ensure the atomicity of the
|
||||||
|
* append operation.
|
||||||
|
*/
|
||||||
|
RTEMS_INLINE_ROUTINE void rtems_chain_extract_unprotected(
|
||||||
|
rtems_chain_node *the_node
|
||||||
|
)
|
||||||
|
{
|
||||||
|
_Chain_Extract_unprotected( the_node );
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Obtain the first node on a chain
|
* @brief Obtain the first node on a chain
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user