:Jason Evans wrote:
:
:[snip]
:
:>
:> Thread stacks have a default size of 64kB. libc_r now uses growable stacks
:> with "guard pages" between stacks to try to catch stack overflow. It looks
:> like it did you some good. =)
:>
:> You will need to specify an alternate stack during thread creation to get
:> around this size limit, or you can just use less stack space.
:>
:
:Thank you very much!
:That explains everything.
:
:The problem's in my tv set (as we say here) and I'll fix the picture
::)
:
:--iani
Heh heh. I have a feeling that we're going to see more of these sorts
of problems crop up (over-extending stacks, making assumptions about
compiler optimizations) as more and more people try to do threads
programming and fewer and fewer of them have the small-systems
background to realize that there are in fact stack and compiler
optimization issuesl
-Matt
Matthew Dillon
<[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message