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: Pthread problem


> On Thu, Feb 14, 2008 at 09:07:05AM -0400, Davies, Greg wrote:
> > Hi,
> > 	I'm having problems when I try to run more than two 
> pthreads at the 
> > same time. This is on a SAM7SE-EK board using the SAM7S-EK eCos 
> > configuration.
> 
> Problems like this are typically to do with the stack being 
> too small and you overwrite the thread structure. Turn on 
> INFRA_DEBUG and try with bigger stacks.
> 
>      Andrew

I had tried the stack thing before, but it didn't help. In some cases when I made it too big, it caused my debugger to stop working. I turned on some of the debugging features and some other things, and it started working. I'm not sure exactly which option made it start working again though. I think that's a story for another day. 

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