[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] why is netif declared static in ip_output()?
From: |
Martin Glunz |
Subject: |
[lwip-users] Re: [lwip] why is netif declared static in ip_output()? |
Date: |
Thu, 09 Jan 2003 02:17:14 -0000 |
address@hidden wrote:
>
> Hello,
>
> why is netif declared static in ip_output()?
>
> This brings concurrency problems if, in a pre-emptive multitasking
> environment, concurrent calls to ip_output() occur.
>
I don't see a problem declaring it local. It's a pointer,
so stack usage should not be an issue.
Martin Glunz
[This message was sent through the lwip discussion list.]