MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / timer_list_free

Function timer_list_free

components/libc/compilers/common/ctime.c:875–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

873}
874
875int timer_list_free(rt_list_t *timer_list)
876{
877 struct timer_obj *pos, *n;
878 rt_list_for_each_entry_safe(pos, n, timer_list, lwp_node)
879 {
880 timer_delete(pos->timer_id);
881 }
882 return 0;
883}
884
885#endif /* RT_USING_SMART */
886

Callers 1

lwp_freeFunction · 0.85

Calls 1

timer_deleteFunction · 0.85

Tested by

no test coverage detected