On Wed, 2009-10-07 at 15:54 -0400, David Shmelzer wrote:
> I traced the problem to conn->err being assigned a value in separate
> threads.
> One in recv_tcp() and another in netconn_recv().
> 
> recv_tcp() is called from the tcpip_thread and netconn_recv() is called
> from a separate thread. 
> Am I using netconns incorrectly? 
> If so, shouldn't conn->err be a thread safe variable since it is
> accessed from tcpip_thread as well as the thread using the netconn api?
> conn->recv_avail is thread safe.

If that is the case I think it should.  Could you file a bug?

Kieran



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to