[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] 10
From: |
leon . woestenberg |
Subject: |
[lwip-users] Re: [lwip] 10 |
Date: |
Thu, 09 Jan 2003 00:15:37 -0000 |
> All IP action occurs within the interrupt handler.
>
In general, this is a bad design principle. Unless you can assure all access
to/from lwIP is from this interrupt handler, you may have a very hard time
making sure no concurrent access to data structures occur.
For example, how do you call the _tmr() functions in lwIP with the assurance
that the interrupt handler is not invoked in the meantime?
In general, the interrupt handler should merely invoke a "lower-half"
interrupt handler (that runs out of interrupt context), which does the
processing.
Leon.
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
[This message was sent through the lwip discussion list.]