* sapi/inline/rtems/chain.inl: Added
	rtems_chain_extract_unprotected().
This commit is contained in:
Sebastian Huber
2010-08-09 07:38:51 +00:00
parent 4685a5901f
commit b8af65a8f1
2 changed files with 20 additions and 0 deletions

View File

@@ -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:

View File

@@ -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
* *