[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] sys_timeout firing too often.
From: |
Nick Thomas |
Subject: |
RE: [lwip-users] sys_timeout firing too often. |
Date: |
Tue, 9 Sep 2008 18:08:25 +0100 |
Hi, Well I made some progress.
I added the array of task structs, and an array of struct sys_timeouts as
suggested to sys_arch.c. This has improved things immensely.
But, there is still an anomaly.
The first sys_timeout() call is done from the 'root' thread, which isn't
created by any of the task_create functions in sys_arch.c.
So, when sys_arch_timeouts() loops through to find the appropriate task
struct, it doesn't find one!
For now, if it fails to find the right array, it simply defaults to the
first in the list. This is better than returning NULL as the timeout
handlers would never be called for that timer.
There must be a better way though!
Regards
Nick
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users
- RE: [lwip-users] sys_timeout firing too often., (continued)
[lwip-users] sys_timeout firing too often., Nick Thomas, 2008/09/08
- Re: [lwip-users] sys_timeout firing too often., Kieran Mansley, 2008/09/08
- RE: [lwip-users] sys_timeout firing too often., Nick Thomas, 2008/09/08
- Re: [lwip-users] sys_timeout firing too often., address@hidden, 2008/09/08
- RE: [lwip-users] sys_timeout firing too often., Nick Thomas, 2008/09/08
- Re: [lwip-users] sys_timeout firing too often., address@hidden, 2008/09/08
- Re: [lwip-users] sys_timeout firing too often., Piero 74, 2008/09/09
- RE: [lwip-users] sys_timeout firing too often.,
Nick Thomas <=
- Re: [lwip-users] sys_timeout firing too often., address@hidden, 2008/09/10
- Re: [lwip-users] sys_timeout firing too often., Piero 74, 2008/09/10
- Re: [lwip-users] sys_timeout firing too often., Simon Goldschmidt, 2008/09/10