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

  1. Xref: sparky comp.os.msdos.programmer:8944 comp.os.msdos.misc:4984
  2. Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc
  3. Path: sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!nokia.fi!tele.nokia!bouillin
  4. From: bouillin@ntc.nokia.com (Claude Bouillin)
  5. Subject: Re: Why ms-dos is non reentrant
  6. In-Reply-To: Pinar Aydemir's message of Tuesday, 1 Sep 1992 12:20:42 TUR
  7. Message-ID: <BOUILLIN.92Sep1164052@node_3f5e2.ntc.nokia.com>
  8. Sender: usenet@noknic.nokia.fi (USENET at noknic)
  9. Nntp-Posting-Host: ape.ts.tele.nokia.fi
  10. Reply-To: bouillin@ntc.nokia.com
  11. Organization: kpd
  12. References: <92245.122042A10742@TRMETU.BITNET>
  13. Date: Tue, 1 Sep 1992 14:40:52 GMT
  14. Lines: 26
  15.  
  16. >>>>> On Tuesday, 1 Sep 1992 12:20:42 TUR, Pinar Aydemir <A10742@TRMETU.BITNET> said:
  17.  
  18. > I almost hear everyday that msdos is non-reentrant.
  19. > It is non re-entrant so dont call a dos funcion from a Interrupt Service
  20. > Routine.
  21. > Since It is non reentrant, bla bla bla.
  22.  
  23. > I looked at some books about OS, and the definition of reentrancy is
  24. > given as being unmodified (pure) code.So, what makes msdos non reentrant ?
  25. > Any information  is appreciated.
  26.  
  27. msdos is reentrant because it has been designed so. When writing the
  28. code of a particular routine you may tell the compiler that at
  29. runtime, either its data segments are fixed (say a memory position) or
  30. re-definable (say a new memory position at each call), the latter
  31. routine only is called re-entrant. Note such a routine may call itself
  32. without any problem... provided it has an exit path (for example after
  33. 10 times).
  34.  
  35.     Hope I helped somehow,
  36. --
  37. --------------------------------------------------------------------------------
  38.  Claude Bouillin - (Internet: bouillin@ntc.nokia.com)      Phone 358-0-511 7736
  39.          (X.400:   C=FI,A=Elisa,P=Nokia Telecom,S=Bouillin,Gi=Claude)
  40.  Nokia Telecommunications, PO box 12, 02611 Espoo, Finland   Fax 358-0-511 7432
  41. --------------------------------------------------------------------------------
  42.