Closed lxlenovostar closed 5 years ago
sctp_handle_tick will call in usrsctp in the following order:
sctp_handle_tick
usrsctp_init==> sctp_init==> sctp_start_timer==> user_sctp_timer_iterate===> sctp_handle_tick
So sctp_start_timer already call sctp_handle_tick, we don't need call sctp_handle_tick by usrsctp_handle_timers. This is right?
sctp_start_timer
usrsctp_handle_timers
No. sctp_start_timer starts a thread and usrsctp threads are disabled when used by RAWRTC. Otherwise it would not work well with an event loop.
sctp_handle_tick
will call in usrsctp in the following order:So
sctp_start_timer
already callsctp_handle_tick
, we don't need callsctp_handle_tick
byusrsctp_handle_timers
. This is right?