summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/rbtree.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-21 18:29:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-22 12:31:41 +0200
commit8abbbdde38bdbe9c8d2735bcb5f6e19880731055 (patch)
tree8c93a656c7d585ac606c95616624a82fa95b20c4 /cpukit/score/include/rtems/score/rbtree.h
parentrbtree: Remove superfluous NULL pointer checks (diff)
downloadrtems-8abbbdde38bdbe9c8d2735bcb5f6e19880731055.tar.bz2
rbtree: Do not set node off-tree in extract
Diffstat (limited to 'cpukit/score/include/rtems/score/rbtree.h')
-rw-r--r--cpukit/score/include/rtems/score/rbtree.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/rbtree.h b/cpukit/score/include/rtems/score/rbtree.h
index 7c88326ba4..b3f2ed4c0d 100644
--- a/cpukit/score/include/rtems/score/rbtree.h
+++ b/cpukit/score/include/rtems/score/rbtree.h
@@ -241,9 +241,16 @@ RBTree_Node *_RBTree_Insert(
);
/**
- * @brief Extracts (removes) @a the_node from @a the_rbtree.
+ * @brief Extracts (removes) the node from the red-black tree.
*
- * This routine extracts (removes) @a the_node from @a the_rbtree.
+ * This function does not set the node off-tree. In case this is desired, then
+ * call _RBTree_Set_off_rbtree() after the extraction.
+ *
+ * In case the node to extract is not a node of the tree, then this function
+ * yields unpredictable results.
+ *
+ * @param[in] the_rbtree The red-black tree control.
+ * @param[in] the_node The node to extract.
*/
void _RBTree_Extract(
RBTree_Control *the_rbtree,