[Top][All Lists]

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

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

From: Oliver Hitz
Subject: [lwip-users] How to wake up the tcpip_thread?
Date: Wed, 18 Aug 2010 10:42:27 +0200
User-agent: Mutt/1.5.9i

Hi all,

I'm trying to use the raw api to create a telnet service in a
multithreaded environment. I do already have a serial console
functionality and would like to provide the same service over a telnet
interface. That console service is basically a thread that receives
command lines and writes output to some buffer.

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?

I am well aware that I could the netconn or the sockets api to achieve
this, but since I am quite low on memory I would like to keep things as
small as possible (if this is possible, at least).

Thanks in advance


Attachment: signature.asc
Description: Digital signature

reply via email to

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