|
-
Nov 10th, 2004, 03:16 PM
#1
Thread Starter
Member
Windows memory questions
Hi Everyone -
Couple of simple questions...
1) How does windows handle starting 2 or more applications with a same base starting address??
2) If (as i think) windows just starts applications at a certain area,
then quickly moves them to another spot in memory - what are the chances an application that spawns several other applications
can come back and step on the starting applications memory space????
thanks
tony
-
Nov 16th, 2004, 11:49 AM
#2
In Windows, every application has its own virtual address space. Within this space, it's completely alone and can thus have any base address it wants. Applications can't interfere with each other because they don't see each other.
In physical memory, the applications are at different addresses, but that doesn't matter because they don't know it. That's the duty of the memory manager of the OS.
It's a little more complicated than that, because Windows has a few address ranges reserved for special use, but that's not all that important.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|