Article View: comp.os.msdos.programmer
Article #1189Re: Why ms-dos is non reentrant
From: Kenneth Falck
Date: Tue, 01 Sep 1992 16:01
Date: Tue, 01 Sep 1992 16:01
16 lines
1160 bytes
1160 bytes
In article <bws.35@ccs.carleton.ca> bws@ccs.carleton.ca (Brian Sullivan) writes: >When performing a DOS call, some routines use Static data space, (rather than >allocating memory on a stack). If you interrupt a DOS call to perform the >same function(or on fro the same family, (even if you save all the >registers) you can still trash the original data. And after your TSR exits >DOS continues with corrupted data. So, the question remains, why don't the Microsoft programmers bang their brains together and rewrite MSDOS to be fully re-entrant and all the routines to use dynamic memory allocation instead of static? If this really is so difficult for them, I must have understood something wrong about this. -- kennu@mits.mdata.fi
Technical Details
Message-ID:
<1992Sep1.160133.19060@mits.mdata.fi>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!fuug!mits!kennuReferences:
<92245.122042A10742@TRMETU.BITNET> <bws.35@ccs.carleton.ca>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!fuug!mits!kennu From: kennu@mits.mdata.fi (Kenneth Falck) Subject: Re: Why ms-dos is non reentrant Message-ID: <1992Sep1.160133.19060@mits.mdata.fi> Organization: Microdata Oy, Helsinki, Finland References: <92245.122042A10742@TRMETU.BITNET> <bws.35@ccs.carleton.ca> Date: Tue, 1 Sep 1992 16:01:33 GMT Lines: 17