🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #350

How do virtual 386 DOS windows work?

#350
From: Kenneth Reed
Date: Mon, 10 Aug 1992 07:20
26 lines
1445 bytes
I don't use Windows myself, but I was just musing about how it gets the
multiple DOS sessions to work in 386 enhanced mode.

Now, I can understand how to run multiple copies of MSDOS each in
their own virtual 386 machine and even how to keep basic disk IO sane.
However, I can't figure out why the different instances of DOS don't
step on each other's toes as far as the filesystem is concerned.

For example, take 2 processes writing to a file "simultaneously". They
both come along and find out what blocks are free and let's assume
that the information stays withing the DOS buffers so they don't need
to go back to disk again. What stops both processes trying to use the
same "free" blocks?

Of course, you could apply the same question to any disk structure,
for example two processes trying to create files in the same
directory.

Anyone got any ideas on how it works?

Ken
-- 
- Ken Reed, Joint European Torus, Abingdon, Oxfordshire, UK
  kr@jet.uk
- Disclaimer: Please note that the above is a personal view and should not 
  be construed as an official comment from the JET project.
Technical Details
Message-ID: <1992Aug10.072038.28564@jet.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!jet!kr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!jet!kr
From: kr@jet.uk (Kenneth Reed)
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer,comp.windows.ms.programmr
Subject: How do virtual 386 DOS windows work?
Message-ID: <1992Aug10.072038.28564@jet.uk>
Date: 10 Aug 92 07:20:38 GMT
Organization: Joint European Torus
Lines: 26