|
From: | Thomas Riedrich |
Subject: | [lwip-users] lwIP and threads |
Date: | Wed, 23 Jan 2013 16:18:29 +0100 |
Hello,
I need some clarification on lwIP and threads. The wiki says that lwIP CAN
use threads, but doesn’t need threads. What I want to do is the following:
Receive pictures using lwIP, store them in a RAM file system, process them,
and send them back using lwIP. So I need lwIP to run in ONE thread ALONGSIDE
another thread which does the image processing, but I don’t need for lwIP to
split up into several threads.
So my question is how I would implement sys_arch.c. Would I still have to
port it to the multithreading system I’m using? Does lwIP have to “know” that
I’m using threads in this case? Or could I just rewrite tcpip_init to use my own
start_new_thread function instead of lwIPs own sys_thread_new?
Thanks
Tom |
[Prev in Thread] | Current Thread | [Next in Thread] |