[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Socket read/write and threads
From: |
Yoav Nissim |
Subject: |
Re: [lwip-users] Socket read/write and threads |
Date: |
Tue, 12 Jan 2010 12:53:25 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
Yes, thanks. My bad.
On 12/01/10 12:28 PM, Simon Goldschmidt wrote:
> Yoav Nissim wrote:
>
>> The porting and IF init code is the best place to start. AFAIK:
>> 1. The call from your Rx thread should not call ethernetif_input()
>> directly. It should call netif->input() - which in turn is initialized
>> to tcpip_input() when you call netif_add().
>>
> Hmm, did you confuse ethernetif_input() with ethernet_input() here (not the
> missin 'if')? ethernetif_input() is the netif's internal input function which
> may be called in the rx thread. This function in turn should then *not* call
> ethernet_input() but netif->input().
>
> The rest seems OK. Although I never tried to give tcpip_thread a higher prio
> than the ethernet rx thread, it should still work...
>
> Simon
>
--
Yoav Nissim
Software Engineer, Software Tools Division
Jungo Software Technologies
Email: address@hidden
Web: http://www.jungo.com
Phone: +972-74-7212138
Fax: +972-74-7212122
Mobile: +972-54-2271315
- Re: [lwip-users] Socket read/write and threads, (continued)
- Re: [lwip-users] Socket read/write and threads, Yoav Nissim, 2010/01/11
- Re: [lwip-users] Socket read/write and threads, Simon Goldschmidt, 2010/01/11
- Re: [lwip-users] Socket read/write and threads, Yoav Nissim, 2010/01/11
- Re: [lwip-users] Socket read/write and threads, address@hidden, 2010/01/11
- Re: [lwip-users] Socket read/write and threads, Nicolas Pinault, 2010/01/12
- Re: [lwip-users] Socket read/write and threads, Yoav Nissim, 2010/01/12
- Re: [lwip-users] Socket read/write and threads, Simon Goldschmidt, 2010/01/12
- Re: [lwip-users] Socket read/write and threads,
Yoav Nissim <=
- Re: [lwip-users] Socket read/write and threads, Nicolas Pinault, 2010/01/12
- Re: [lwip-users] Socket read/write and threads, Alain Mouette, 2010/01/12
- Re: [lwip-users] Socket read/write and threads, Yoav Nissim, 2010/01/12
- Re: [lwip-users] Socket read/write and threads, Nicolas Pinault, 2010/01/12
- Re: [lwip-users] Socket read/write and threads, Nicolas Pinault, 2010/01/13