MCPcopy Create free account
hub / github.com/apache/trafficserver / tmr_cancel

Function tmr_cancel

tools/http_load/timers.c:261–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void
262tmr_cancel(Timer *t)
263{
264 mstimeout_cache = -1;
265 /* Remove it from its active list. */
266 l_remove(t);
267 /* And put it on the free list. */
268 t->next = free_timers;
269 free_timers = t;
270 t->prev = (Timer *)0;
271}
272
273void
274tmr_cleanup(void)

Callers 3

close_connectionFunction · 0.85
tmr_runFunction · 0.85
tmr_destroyFunction · 0.85

Calls 1

l_removeFunction · 0.85

Tested by

no test coverage detected