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

Re: [LCP]Threads in Linux



Hello,

>I have a program in C++ in Linux which is using large >arrays 
>(150000) inside a function, which called by a >thread.

 From C++ point of view, it is criminal way to use ARRAY when you 
have much safer TEMPLATES.

>After compiling the same program in other platforms I am >getting 
>weird run time errors, related to the stack and >my application 
>crashes.

Please specify what errors you are getting? The info you provided 
is bit less.

>question: using large arrays in that way is a problem >with other 
>platforms, like HP-UX or Solaris ?

hmmm, bit difficult to comment on this from the info you have 
provided..if possible plz attach CODE SNIPPET.

Madhav.
_________________________________________________________
There is always a better job for you at Monsterindia.com.
Go now http://monsterindia.com/rediffin/