Re: Stack Size of a thread

2003-10-19 Thread Kenneth Porter
--On Sunday, October 19, 2003 12:35 PM +0200 sting sting <[EMAIL PROTECTED]> wrote: As I know there is a default stack size for a pthread; but it grows and shrinks during run time. can I know the size of this stack during run time ? I don't know about Linux, but under another OS (OS/2) the stack

Re: Fiinding size (or percent) of memory a thread occupies

2003-10-16 Thread Kenneth Porter
--On Thursday, October 16, 2003 5:33 PM +0200 sting sting <[EMAIL PROTECTED]> wrote: > 1)The top command shows the memory of a process and all its threads as if > they > were all using the same size of memory ; which is probably so; > I have a process with some (5) threads and I want to know how