summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/src/rbheap.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sapi: Canonicalize @defgroup and @file commentsSebastian Huber2020-12-021-2/+5
| | | | | | | Adjust group identifier and names to be in line with a common pattern. Use common phrases for the group and file brief descriptions. Update #3706.
* Canonicalize config.h includeSebastian Huber2020-04-161-2/+2
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* score: Add debug support to chainsSebastian Huber2016-07-221-0/+1
| | | | | | | This helps to detect * double insert, append, prepend errors, and * get from empty chain errors.
* rbheap: Fix rtems_rbheap_free()Sebastian Huber2015-09-111-21/+16
| | | | | | | Remove unused descriptor of merged free chunks from the free chain and add them to the spare descriptors. Close #2417.
* rbheap: Avoid internal APISebastian Huber2015-08-311-10/+11
|
* rbtree: Add and use RBTree_Compare_resultSebastian Huber2014-08-051-31/+39
|
* rbtree: Reduce RBTree_Control sizeSebastian Huber2014-07-151-4/+4
| | | | | | | | | | | | Remove compare function and is unique indicator from the control structure. Rename RBTree_Compare_function to RBTree_Compare. Rename rtems_rbtree_compare_function to rtems_rbtree_compare. Provide C++ compatible initializers. Add compare function and is unique indicator to _RBTree_Find(), _RBTree_Insert(), rtems_rbtree_find() and rtems_rbtree_insert(). Remove _RBTree_Is_unique() and rtems_rbtree_is_unique(). Remove compare function and is unique indicator from _RBTree_Initialize_empty() and rtems_rbtree_initialize_empty().
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score/rbtree: Remove "unprotected" from APISebastian Huber2013-11-211-4/+4
|
* rbtree: API changes. Remove rbtree control node from RBTree_Next.Gedare Bloom2012-05-081-4/+3
| | | | | | | | | | | | 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.
* rbheap: API changes and documentationSebastian Huber2012-04-181-94/+95
|
* rbheap: New filesSebastian Huber2012-04-111-0/+277
In the Red-Black Tree Heap the administration data structures are not contained in the managed memory area. This can be used for example in a task stack allocator which protects the task stacks from access by other tasks.