[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [LCP]Threads in Linux



Vincent Penquerc'h wrote:

| > question: using large arrays in that way is a problem with 
| > other platforms, like HP-UX or Solaris ?
| 
| automatic arrays go on the stack, which is limited on some
| systems. Try adding a static (turning a stack auto array
| into a global bss array).

Don't assume that static is always going to be an acceptable
alternative to automatic, especially where threads are part of
the picture.