This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ecos + lwip


Mandeep Sandhu wrote:
On Tue, Sep 1, 2009 at 9:07 PM, Simon Kallweit<simon.kallweit@intefo.ch> wrote:
Mandeep Sandhu wrote:
Please try to use cyg_lwip_thread_new() and tell me if that works.

I'll do that now. Thanks for tips.


Also I noted one more thing.

My thread which calls netif_find() is executed _BEFORE_ I see the netif_add()
messages!!!
Could this be a thread synchronization issue? Should I wait for the
netif init() to
complete?

You need to wait for cyg_lwip_sequential_init() to return before creating user threads.


Simon

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]