[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32 |
Date: |
Tue, 08 Dec 2009 12:28:51 +0100 |
pragnesh patel wrote:
> There is only one connection. As I understand, the crash inside
> tcp_enqueue() may be because of two threads (one from incoming request through
> tcp_in.c) and other outgoing request) and needs protection. But as newcomer to
> lwip world, I don't know where to protect.
Take a look at the win32 example port: when calling netif_add, you have to pass
tcpip_input as the input function. This makes sure that rx packets are
processed in the correct thread context. Also, you may *not* use the raw API
from an application thread (may only be used inside the tcpip_thread).
Simon
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, (continued)
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, patelbaroda, 2009/12/10
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, address@hidden, 2009/12/10
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, patelbaroda, 2009/12/10
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, address@hidden, 2009/12/11
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, address@hidden, 2009/12/11
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, patelbaroda, 2009/12/11
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, patelbaroda, 2009/12/11
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, patelbaroda, 2009/12/12
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, patelbaroda, 2009/12/11
- Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32, address@hidden, 2009/12/12
Re: [lwip-users] Problem with do_writemore() + LWIP for AVR32,
Simon Goldschmidt <=
- [lwip-users] Setting source port number for UDP send, Marco Jakobs, 2009/12/10
- Re: [lwip-users] Setting source port number for UDP send, David Empson, 2009/12/10
- Re: [lwip-users] Setting source port number for UDP send, Marco Jakobs, 2009/12/11
- Re: [lwip-users] Setting source port number for UDP send, address@hidden, 2009/12/11
- Re: [lwip-users] Setting source port number for UDP send, Marco Jakobs, 2009/12/13
- Re: [lwip-users] Setting source port number for UDP send, Simon Goldschmidt, 2009/12/14
- Re: [lwip-users] Setting source port number for UDP send, Marco Jakobs, 2009/12/15
- [lwip-users] Sending a packet to ETH standard gateway with an active PPP connection, Marco Jakobs, 2009/12/15
- Re: [lwip-users] Sending a packet to ETH standard gateway with an active PPP connection, address@hidden, 2009/12/15
- Re: [lwip-users] Sending a packet to ETH standard gateway with an active PPP connection, Marco Jakobs, 2009/12/15