Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2504 6137 d 1 h jermar /trunk/kernel/generic/ Give the AVL tree walkers the possibility to take an argument.
Each walker is now supposed to return a bool value to support walk termination.

Switch over from the tasks_btree B+tree to tasks_tree AVL tree.
This makes the fix for ticket #48 complete.
 
2503 6137 d 2 h jermar /trunk/kernel/generic/src/adt/ Get rid of code duplicities in the insert path into an AVL tree.  
2501 6137 d 6 h jermar /trunk/kernel/generic/ Add explicit type for an AVL tree key.
Add function to walk an AVL tree using a supplied walker.
 
2499 6137 d 8 h jermar /trunk/kernel/ Import the AVL tree implementation from the RCU branch.  
2497 6138 d 0 h jermar /branches/rcu/kernel/generic/src/adt/ Cleanup of the RCU branch.
Get rid of some of the code duplication in avl.c by introducing the REBALANCE()
macro and the repair() function.
 
2496 6139 d 23 h jermar /branches/rcu/kernel/generic/ Cleanup of the RCU branch.
Cleanup avl.h and avl.c a little bit.
Do we really need to have so much of code replication even within one AVL
tree implementation?
 
2461 6190 d 0 h mencl /branches/rcu/kernel/ Added Fast avl tree structure which should be used as timeout data structure instead of simple avl tree. This
structure has much faster search min and delete min operations (constant time).
 
2450 6193 d 2 h mencl /branches/rcu/kernel/ Repaired avl and extavl tree timeout unregister and delete_min. These
faults caused problems with initializing cpus and they appeared only in
multi processor systems.
 
2421 6201 d 22 h mencl /branches/rcu/kernel/ Repaired and debuged data structures and added timeout test  
2416 6202 d 22 h mencl /branches/rcu/ All timeout structures and tests added
Use timeout structures in timeout mechanism - not tested yet