public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] More pthread problems
@ 2008-02-28 21:13 Davies, Greg
  0 siblings, 0 replies; only message in thread
From: Davies, Greg @ 2008-02-28 21:13 UTC (permalink / raw)
  To: ecos-discuss

I thought I had solved my earlier pthread problems. I can now have up to
6 of them running at the same time, plus main, since it's started as a
pthread if I understand correctly. The way I was able to increase the
number of threads I could run at once was actually to decrease the
default size of main's stack, from 8k to 2k I've now run out of room to
decrease the size of main's stack and I still need two more threads.
Does this behavior sound familiar to anyone? 

Up until this point I was allowing the default stack size to be used for
my other threads. Is this the same size as what I have for main? I tried
creating the stacks myself and passing them in as an attribute when I
create my threads, but I couldn't get this to work at all.

If anyone has some more suggestions, they would be greatly appreciated.
Thanks in advance.

- Greg

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-28 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-28 21:13 [ECOS] More pthread problems Davies, Greg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).