lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Aw: Re:multithread netconn / udp echo on two differentthrea


From: robert . braatz
Subject: [lwip-users] Aw: Re:multithread netconn / udp echo on two differentthreads and ports
Date: Wed, 14 Apr 2010 12:15:45 +0200 (CEST)

Hi,

I think the stack size is not the problem (I reserved 8 KB) – the example 
consumes so much stack because there is a big copy buffer on the stack. 
>From Simons answer I think there is maybe a fault in my sys_arch layer with 
>the semaphore mechanism and api messages are not protected. I’ll debug this.

Robert

> LwIP netconn API is thread safety, I think. I have many waiting UDP / TCP
> connections in separated thread and without problem.
> Do you have this sample "echo server" from
> http://cvs.savannah.gnu.org/viewvc/contrib/apps/udpecho/udpecho.c?revision=1
> .7&root=lwip&view=markup
> This example required a quite big stack size ( cca > 4200 Bytes for each
> task ) by my mind.
> Do you have sufficient stack size ?
> Martin Persich


Traumziele - von Beschreibung bis Buchung jetzt kompakt auf den Reise-Seiten 
von Arcor.de! http://www.arcor.de/rd/footer.reise




reply via email to

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