lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

回复:Re: [lwip-users] where can i fi nd out the function for time check


From: 沈伟锋
Subject: 回复:Re: [lwip-users] where can i fi nd out the function for time check
Date: Fri, 30 Mar 2007 15:41:57 +0800 (CST)

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 .



?家!网易3G免??,??送280兆网? www.126.com
reply via email to

[Prev in Thread] Current Thread [Next in Thread]