lwip-devel
[Top][All Lists]
Advanced

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

AW: AW: [lwip-devel] Memory leak for timeouts


From: Goldschmidt Simon
Subject: AW: AW: [lwip-devel] Memory leak for timeouts
Date: Tue, 6 Nov 2007 17:25:05 +0100

 
>> This is indeed a problem if you create and destroy threads at
runtime.
>> However, the lwIP sys layer is designed to never end a running thread

>> (as most embedded systems do), so this is not a problem for most
users.
>
>Actually that's not true if you use select(), which can call
sys_sem_wait_timeout(), which calls sys_timeout().

What is not true? I you don't have memory leaks if you don't end
threads. Of course you have to make sure you allocate the timeout struct
only once...

Simon




reply via email to

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