This is the mail archive of the ecos-discuss@sources.redhat.com 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]

RE: Thread error with large buffer


  > 
  > 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.


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