[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: Re: [lwip] Timer problem!!!
From: |
harish jayaraj |
Subject: |
[lwip-users] Re: Re: [lwip] Timer problem!!! |
Date: |
Thu, 09 Jan 2003 00:52:00 -0000 |
Hi Jani,
Thanks for the reply.
I 'am bit confused about ur answer, please do clarify this.
Here is what 'am currently doing.
1) Inside the function sys_thread_new() i have called my RTOS
create therad(). And i have upadted the timeoutlist as would be
done.
2) Now, for the function calls sys_arch_sem_wait() &
sys_arch_mbox_fetch(). I have added my RTOS calls with the timeout
values ('cause my RTOS suports blocking on a resource).
The question here is, how does Lwip use sys_timeouts() to know
which has reached the elapsed time to be zero. And when does the
handle for this gets excuted.
I 'am having a tough time to understand this, So please do clarify
this doubt
Thanks and regards,
Harish
On Tue, 23 Jul 2002 Jani Monoses wrote :
>
> > How can i integarte my RTOS timers into lwip?
>I think all you need to do is return the right amount of
>milliseconds spent
>in the semaphore and mbox related functions in your sys_arch.The
>arch independent
>parts of lwIP do most of the job.
>Jani
>[This message was sent through the lwip discussion list.]
[This message was sent through the lwip discussion list.]