Hi,

I'm using netconn API with callback function. In callback function I check the 
parameter len - if is greater than zero, I put a pointer to the netconn to 
queue. Another task reads the queue and use that netconn to parse data and send 
reply. This operation may takes several seconds. What if callback function will 
be called with parameter len equal zero? I know I must delete netconn, but 
another task may be using that netconn to send reply. I found some informations 
about that here http://lwip.wikia.com/wiki/LwIP_and_multithreading, but they 
dont explain all my doubts, or maybe I didnt understand them.

Regards,
Gregory


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

Reply via email to