[En-Nut-Discussion] Ethernut Lockup
Harald Kipp
harald.kipp at egnite.de
Tue Dec 13 10:35:02 CET 2005
Kathy,
At 14:02 13.12.2005 +0800, you wrote:
>One thing I note is that the port status page loads alot faster than my
>ADC one, I think this is because I am doing an ADC calculation at time of
>page refresh, not in the background. I am wondering if this is locking up
>webport ??
Possibly. Nut/OS uses cooperative multithreading
http://en.wikipedia.org/wiki/Co-operative_multitasking
You may reduce the priority of your calculating thread
and regularly call NutThreadYield().
>Also does ethernut use the watchdog by default ?
No, it doesn't.
Harald
More information about the En-Nut-Discussion
mailing list