set_tick interface & timerfd for main thread