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 <[email protected]> > 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 > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
