stop timer * WARNING: a reset'ed timer will be lost forever * (successive set_timer won't work unless you're lucky * an catch the race condition, the idea here is there is no * guarantee you can do anything after a timer_reset)*/
| 901 | * an catch the race condition, the idea here is there is no |
| 902 | * guarantee you can do anything after a timer_reset)*/ |
| 903 | void reset_timer( struct timer_link* tl ) |
| 904 | { |
| 905 | /* disqualify this timer from execution by setting its time_out |
| 906 | to zero; it will stay in timer-list until the timer process |
| 907 | starts removing outdated elements; then it will remove it |
| 908 | but not execute; there is a race condition, though -- see |
| 909 | timer.c for more details |
| 910 | */ |
| 911 | tl->deleted = 1; |
| 912 | #ifdef EXTRA_DEBUG |
| 913 | LM_DBG("(group %d, tl=%p)\n", tl->tg, tl ); |
| 914 | #endif |
| 915 | } |
| 916 | |
| 917 | |
| 918 |
no outgoing calls
no test coverage detected