This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Thread error with large buffer
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: RE: [ECOS] Thread error with large buffer
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Thu, 19 Jul 2001 17:00:28 -0600 (MDT)
- Cc: eCos mailing list <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat, Inc.
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.