home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 8947 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.2 KB

  1. Xref: sparky comp.os.msdos.programmer:8947 comp.os.msdos.misc:4986
  2. Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc
  3. Path: sparky!uunet!mcsun!fuug!mits!kennu
  4. From: kennu@mits.mdata.fi (Kenneth Falck)
  5. Subject: Re: Why ms-dos is non reentrant
  6. Message-ID: <1992Sep1.160133.19060@mits.mdata.fi>
  7. Organization: Microdata Oy, Helsinki, Finland
  8. References: <92245.122042A10742@TRMETU.BITNET> <bws.35@ccs.carleton.ca>
  9. Date: Tue, 1 Sep 1992 16:01:33 GMT
  10. Lines: 17
  11.  
  12. In article <bws.35@ccs.carleton.ca> bws@ccs.carleton.ca (Brian Sullivan) writes:
  13. >When performing a DOS call, some routines use Static data space, (rather than
  14. >allocating memory on a stack). If you interrupt a DOS call to perform the 
  15. >same function(or on fro the same family, (even if you save all the 
  16. >registers) you can still trash the original data. And after your TSR exits
  17. >DOS continues with corrupted data. 
  18.  
  19. So, the question remains, why don't the Microsoft programmers bang
  20. their brains together and rewrite MSDOS to be fully re-entrant and
  21. all the routines to use dynamic memory allocation instead of static?
  22.  
  23. If this really is so difficult for them, I must have understood
  24. something wrong about this.
  25.  
  26. -- 
  27. kennu@mits.mdata.fi
  28.  
  29.