summaryrefslogtreecommitdiff
path: root/cpukit/score/src/rbtreenext.c (follow)
AgeCommit message (Collapse)Author
2019-04-04doxygen: Rename Score* groups in RTEMSScore*Sebastian Huber
Update #3706
2015-09-03rbtree: Replace implementationSebastian Huber
Use the BSD <sys/tree.h> implementation since it is faster, more flexible and uses less storage. See https://github.com/sebhub/rb-bench.
2014-07-22rbtree: FormatSebastian Huber
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2013-11-21score/rbtree: Remove "unprotected" from APISebastian Huber
2013-11-21score/rbtree: Delete protected operationsSebastian Huber
The user of the red-black tree container must now ensure that at most one thread at once can access an instance.
2013-07-23score: Create rbtree implementation headerSebastian Huber
Move implementation specific parts of rbtree.h and rbtree.inl into new header file rbtreeimpl.h. The rbtree.h contains now only the application visible API.
2012-05-08rbtree: API changes. Remove rbtree control node from RBTree_Next.Gedare Bloom
The implementation of RBTree_Next was using an awkward construction to detect and avoid accessing the false root of the red-black tree. To deal with the false root, RBTree_Next was comparing node parents with the control node. Instead the false root can be detected by checking if the grandparent of a node exists; the grandparent of the tree's true root is NULL by definition so the root of the tree is found while walking up the tree by checking for the non-existence of a grandparent. This change propagates into the predecessor/successor and iterate functions.
2012-04-11rbtree: PR1995: API changeSebastian Huber
New functions o _RBTree_Next_unprotected(), o _RBTree_Next(), o _RBTree_Successor_unprotected(), o _RBTree_Predecessor_unprotected(), o rtems_rbtree_successor_unprotected(), and o rtems_rbtree_predecessor_unprotected(). Change prototype of o _RBTree_Successor(), o _RBTree_Predecessor(), o rtems_rbtree_successor(), and o rtems_rbtree_predecessor().