[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Problems with ASSERTION in tcp_in and tcp_out

From: Leon Woestenberg
Subject: Re: [lwip-users] Problems with ASSERTION in tcp_in and tcp_out
Date: Thu, 17 Jun 2004 18:50:25 +0200
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

Hello Justin,

Justin Bayles wrote:

I am not into the netconn_ layer, but shouldn't the sysarch semaphores already synchronize access to the TCP layer? I.e. are you really seeing
concurrent access to both tcp_in and tcp_enqueue?

There is no synchronisation in either tcp_in or tcp_out. I am definitely seeing concurrent access to tcp_in and tcp_out.

Yes, the lwIP core does no synchronization whatsoever (by design). The
higher layer should handle this.

lwIP core = {tcp, udp, icmp, arp, ip}

You said you where not using tcp_*() directly. What is your way of sending and receive from TCP? netconn_*()? I.e. what is your higher
layer around the lwIP core?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]