lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Re opening LWIP for new HTTP message


From: Sylvain Rochet
Subject: Re: [lwip-users] Re opening LWIP for new HTTP message
Date: Wed, 8 Aug 2012 15:20:26 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

On Wed, Aug 08, 2012 at 06:14:52AM -0700, H.A. wrote:
> 
> Do you mean that I should check if the connection is open in the interrupt
> routine? If open send the message. If not open, open the connection, return
> and let the connect callback send the message? Can the connection be closed
> between the check and the transmit inside the interrupt routine? Is this mix
> of different contexts really safe?

Of course not !

You have to read lwip/doc/rawapi.txt in order to understand how to use 
lwIP with threads.

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

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