On Fri, 30 Mar 2007, 朻帡瑟 wrote:
> void
> sys_timeout(u32_t msecs, sys_timeout_handler h, void *arg)
>  register a handle for timeout .   but where can find the function,
> we call it for timeout check and call the timeout handle registered
> by sys_timeout().

   See src/core/sys.c, inside sys_mbox_fetch() and sys_sem_wait():

        .
        .
        h(arg);
        .
        .

-- 
Cheers,

Tai-hwa Liang


Tai-hwa Liang  thanks !
Did you mean that ,lwip doesn't define  time_check_function()  for time check . 
 But we can edit sys_mbox_fetch()  to our Own_Time_Check_Function(),for time 
check and call timeout handle .
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to