lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LPC1768/9 LAN8720 FreeRTOS 7.4 LWIP 1.4.1


From: Furiantes Furiantes
Subject: Re: [lwip-users] LPC1768/9 LAN8720 FreeRTOS 7.4 LWIP 1.4.1
Date: Fri, 24 May 2013 07:35:49 +0200

Is tcp_new() thread safe too ? or just netcon. My scenario is that:

- i will call a TCP staff only in seperated threads. Like do_download = tcp_new() in one thread and than like listen to some port initialized in seperated thread etc. etc.

Is that ok to do or not ? With global access can I access from TCP_1 thread to TCP_2 thread like TCP_2 kill TCP_1 thread.

Thank you very much for your help.

Danijel


2013/5/23 Sylvain Rochet <address@hidden>
Hi,

On Thu, May 23, 2013 at 12:56:07PM -0400, Pomeroy, Marty wrote:
>
> Do not call tcp_new() or netconn_new() from outside the lwip thread.

Not true, netconn API *IS* thread-safe.

Sylvain

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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