How is the seperation of multiple instances of the same project/program done, that means which mechanism seperates the data of two instances of the same project/program?
Edit: Examples:
- When using a write program two times and working with FILE1 and FILE2. How do most OS seperate the two instances? As I have read in the comments the files get different memory blocks. Do the memory blocks "get" the name of the files, like block143 can be adressed by FILE1 and block223 can be addressed by FILE2?
- Simulation: If I call one simulation type (same commandline arguments) on two different data input files. How does the OS seperate those files concerning the addressing of the different memory blocks/instances?
greetings streight