[ECOS] Thread error with large buffer
Trenton D. Adams
tadams@extremeeng.com
Fri Jul 20 07:28:00 GMT 2001
>
> On 19-Jul-2001 Trenton D. Adams wrote:
> > Below is the thread. It doesn't give the error above if the
buffer
> > variable is 400. Anyone have any ideas why this might be? Surely
a
> > static buffer of 4K is not un-reasonable?
>
> It's not static - it's on the thread's stack. You can make it
> static (include the keyword) or make the thread stack larger.
When I said static I meant not dynamically allocated by me with malloc
or something. Obviously it's not static since I didn't specify the
static keyword.
More information about the Ecos-discuss
mailing list