I'm not sure I can follow you, but it sounds like you are calling netconn_delete from one task while calling netconn_recv from another thread. This is not supported: a netconn must not be used from more than one thread at a time.
Simon Alex2051 <[email protected]> wrote: > > I found some: > > In my code I use separate thread for incoming tcp data, so in that time when > I am destroying netconn, in another thread netconn_recv works. And I must > wait for it finished before another netconn been created: > ... > netconn_delete(conn);///!!!!!!!!!!!!!!!!! > conn = 0; > vTaskDelay(61000); > conn = netconn_new(NETCONN_TCP);///!!!!!!!!!!!!!! > conn->recv_timeout = 60000; > comm_mode = COMM_WAITREADY; > ... > > So should I alwais loose this time (in my case 61 seconds) for waiting until > netconn_recv finished with timeout? May be another method of emegency > interrupt of netconn_recv exists? > -- > View this message in context: > http://old.nabble.com/lwIP-1.3.2-netconn_new-netconn_delete-issue-tp32738694p32739128.html > Sent from the lwip-users mailing list archive at Nabble.com. > > > _______________________________________________ > 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
