For internal use only.
This file contains the implementation of the timer_destroy() function and its helper, _timer_untree().
Definition in file timer_destroy.c.
#include "engines_int.h"
Include dependency graph for timer_destroy.c:
Go to the source code of this file.
Functions | |
ev_err_t | _timer_untree (ev_ctx_t *ctx, ev_tim_t *tim) |
Remove a timer from the timer tree. | |
ev_err_t | timer_destroy (ev_ctx_t *ctx, ev_tim_t *tim) |
Destroy an existing timer. |
|
For internal use only. This function removes the specified timer from the timer tree, restoring the tree's heap property in the process.
Definition at line 32 of file timer_destroy.c. References _timer_heapify_down(), _timer_heapify_up(), _ev_ctx_s::ec_timtree, ev_assert, ev_return, ev_trace, _ev_tim_s::ti_expire, _ev_tim_s::ti_node, _ev_timnode_s::tn_left, _ev_timnode_s::tn_next, _ev_timnode_s::tn_parent, _ev_timnode_s::tn_prev, _ev_timnode_s::tn_right, tt_node_fix, tt_node_init, and tv_comp. Referenced by timer_destroy(), and timer_resched(). Here is the call graph for this function: ![]() |