[LCP]Threads in Linux
Greg Black
gjb at gbch.net
Tue Jun 25 00:41:05 UTC 2002
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.
More information about the linuxCprogramming
mailing list