summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/inline
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-08-09 07:38:51 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-08-09 07:38:51 +0000
commitb8af65a8f19576c9f81e33abb98030c0d504f601 (patch)
treefededee5268793f4b32c0473765c278bdd2349b9 /cpukit/sapi/inline
parent2010-08-09 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-b8af65a8f19576c9f81e33abb98030c0d504f601.tar.bz2
2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/inline/rtems/chain.inl: Added rtems_chain_extract_unprotected().
Diffstat (limited to 'cpukit/sapi/inline')
-rw-r--r--cpukit/sapi/inline/rtems/chain.inl15
1 files changed, 15 insertions, 0 deletions
diff --git a/cpukit/sapi/inline/rtems/chain.inl b/cpukit/sapi/inline/rtems/chain.inl
index ead6db5776..58b6770525 100644
--- a/cpukit/sapi/inline/rtems/chain.inl
+++ b/cpukit/sapi/inline/rtems/chain.inl
@@ -366,6 +366,21 @@ RTEMS_INLINE_ROUTINE void rtems_chain_extract(
}
/**
+ * @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
*
* This function removes the first node from @a the_chain and returns