[Top][All Lists]

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

Re: [lwip-users] How to wake up the tcpip_thread?

From: Oliver Hitz
Subject: Re: [lwip-users] How to wake up the tcpip_thread?
Date: Thu, 19 Aug 2010 08:29:36 +0200
User-agent: Mutt/1.5.9i

On 18 Aug 2010, Timmy Brolin wrote:
> > Once the output is written or the buffer is full, I would like to
> > send that data. Since it is not allowed to call any of the core tcp
> > commands from outside tcpip_thread, how can I safely wake it up in
> > order to call any of my callback functions (tcp_poll would do fine)?
> > Any ideas?
> If you receive and process the command lines in the tcipip thread,
> then you can send the responses immediately using that thread as well.

If the commands don't respond instantaneously, that will block the tcpip
thread. Wouldn't this interfere with the other networking services?

I have seen tcp_callback(), this seems to be exactly what I need. I'll
try that.



Attachment: signature.asc
Description: Digital signature

reply via email to

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