Subversion Repositories HelenOS

Rev

Rev 2431 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2431 Rev 2450
Line 189... Line 189...
189
 
189
 
190
    /*
190
    /*
191
     * Delete timeout from tree structure.
191
     * Delete timeout from tree structure.
192
     */
192
     */
193
#if defined CONFIG_TIMEOUT_AVL_TREE
193
#if defined CONFIG_TIMEOUT_AVL_TREE
194
    avltree_delete(&CPU->timeout_active_tree,&t->node);
194
    avltree_delete(&t->cpu->timeout_active_tree,&t->node);
195
#elif defined CONFIG_TIMEOUT_EXTAVL_TREE
195
#elif defined CONFIG_TIMEOUT_EXTAVL_TREE
196
    extavltree_delete(&CPU->timeout_active_tree,&t->node);
196
    extavltree_delete(&t->cpu->timeout_active_tree,&t->node);
197
#elif defined CONFIG_TIMEOUT_EXTAVLREL_TREE
197
#elif defined CONFIG_TIMEOUT_EXTAVLREL_TREE
198
    extavlreltree_delete(&CPU->timeout_active_tree,&t->node);
198
    extavlreltree_delete(&t->cpu->timeout_active_tree,&t->node);
199
#endif
199
#endif
200
 
200
 
201
    spinlock_unlock(&t->cpu->timeoutlock);
201
    spinlock_unlock(&t->cpu->timeoutlock);
202
 
202
 
203
    timeout_reinitialize(t);
203
    timeout_reinitialize(t);