MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / my_os_timer_delete

Function my_os_timer_delete

mysys/kqueue_timers.c:210–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208*/
209
210void
211my_os_timer_delete(my_timer_t *timer)
212{
213 struct kevent kev;
214
215 EV_SET(&kev, timer->id, EVFILT_TIMER, EV_DELETE, 0, 0, NULL);
216
217 kevent(kq_fd, &kev, 1, NULL, 0, NULL);
218}
219

Callers

nothing calls this directly

Calls 1

keventClass · 0.85

Tested by

no test coverage detected