diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-24 06:53:47 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-24 06:53:47 +0000 |
commit | 3ab746963261da1f1124840f85ed017415ff17bd (patch) | |
tree | c1acb300f2a465230e90f1cdadd5d01db9c1b8bd /ace/Timer_Heap.h | |
parent | 16c1aab36664d4dff18471246aa44044a09e4eff (diff) | |
download | ATCD-3ab746963261da1f1124840f85ed017415ff17bd.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Timer_Heap.h')
-rw-r--r-- | ace/Timer_Heap.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/ace/Timer_Heap.h b/ace/Timer_Heap.h index 04c9bb11dd3..aa499ec79ed 100644 --- a/ace/Timer_Heap.h +++ b/ace/Timer_Heap.h @@ -154,11 +154,19 @@ private: // If preallocation is used, will also double the size of the // preallocated array of ACE_Timer_Nodes. - void reheap_up (ACE_Timer_Node *new_node); - // Restore the heap property. - - void reheap_down (ACE_Timer_Node *moved_node, size_t child_index); - // Restore the heap property, starting at <child_index>. + void reheap_up (ACE_Timer_Node *new_node, + size_t index, + size_t parent); + // Restore the heap property, starting at <index>. + + void reheap_down (ACE_Timer_Node *moved_node, + size_t index, + size_t child); + // Restore the heap property, starting at <index>. + + void copy (int index, ACE_Timer_Node *moved_node); + // Copy <moved_node> into the <index> slot of <heap_> and move + // <index> into the corresponding slot in the <timer_id_> array. int timer_id (void); // Returns a timer id that uniquely identifies this timer. This id |