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] |
On Tue, Sep 1, 2009 at 7:08 PM, Simon Kallweit<simon.kallweit@intefo.ch> wrote:Mandeep Sandhu wrote: sys_thread_new() will use preallocated memory for the stack, while cyg_lwip_thread_new() will take the stack as an argument. Therefore by default you should use cyg_lwip_thread_new(). When using sys_thread_new() the ecos should fail when all preallocated memory is used.
But sys_thread_new() also takes stacksize as an argument. It passes the same value to cyg_lwip_thread_new() after validating it. So I guess it should be ok.
-- 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] |