Re: About stack size
From: Alwyn (dt015a1979_at_mac.com.invalid)
Date: 09/10/04
- Next message: Alwyn: "Re: How to get max/min from each column of mult dimen. array?"
- Previous message: Francis Glassborow: "Re: C++ n00b"
- In reply to: Niklas Borson: "Re: About stack size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 10 Sep 2004 10:52:07 +0100
In article <bc2bfdd5.0409100054.73071cf5@posting.google.com>, Niklas
Borson <niklasb@microsoft.com> wrote:
> Alwyn <dt015a1979@mac.com.invalid> wrote in message
> news:<100920040103254378%dt015a1979@mac.com.invalid>...
>
> > It depends on the platform, but most of them are like this:
> > <http://lambda.uta.edu/cse5317/fall02/notes/node30.html>
>
> I doubt "most" of them are like that any more. Consider a process
> with multiple threads, all sharing the same address space. Each
> thread will typically have its own stack.
Yes, each thread of a process will need its own stack. But AFAIK, most
Unix processes are still single-threaded.
> (Actually, under Windows
> there are two stacks for each thread, IIRC, one for user mode and
> one for kernel mode.)
I wasn't aware Windows did that. You learn something every day.
Alwyn
- Next message: Alwyn: "Re: How to get max/min from each column of mult dimen. array?"
- Previous message: Francis Glassborow: "Re: C++ n00b"
- In reply to: Niklas Borson: "Re: About stack size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|