From 97ad774ae2ddbcaca8ea9821f51471e903847a62 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 1 Dec 1999 03:12:22 +0000 Subject: [PATCH] commented purging of timer events on timer destruction --- lib/isc/include/isc/timer.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/isc/include/isc/timer.h b/lib/isc/include/isc/timer.h index de7070e72f..4c9a71f0ac 100644 --- a/lib/isc/include/isc/timer.h +++ b/lib/isc/include/isc/timer.h @@ -266,6 +266,11 @@ isc_timer_detach(isc_timer_t **timerp); * The timer will detach from its task * * All resources used by the timer have been freed + * + * Any events already posted by the timer will be purged. + * Therefore, if isc_timer_detach() is called in the context + * of the timer's task, it is guaranteed that no more + * timer event callbacks will run after the call. */ isc_result_t