Article View: comp.os.msdos.programmer
Article #1186Re: Why ms-dos is non reentrant
From: Claude Bouillin
Date: Tue, 01 Sep 1992 14:40
Date: Tue, 01 Sep 1992 14:40
26 lines
1934 bytes
1934 bytes
>>>>> On Tuesday, 1 Sep 1992 12:20:42 TUR, Pinar Aydemir <A10742@TRMETU.BITNET> said:
> I almost hear everyday that msdos is non-reentrant.
> It is non re-entrant so dont call a dos funcion from a Interrupt Service
> Routine.
> Since It is non reentrant, bla bla bla.
> I looked at some books about OS, and the definition of reentrancy is
> given as being unmodified (pure) code.So, what makes msdos non reentrant ?
> Any information is appreciated.
msdos is reentrant because it has been designed so. When writing the
code of a particular routine you may tell the compiler that at
runtime, either its data segments are fixed (say a memory position) or
re-definable (say a new memory position at each call), the latter
routine only is called re-entrant. Note such a routine may call itself
without any problem... provided it has an exit path (for example after
10 times).
Hope I helped somehow,
--
--------------------------------------------------------------------------------
Claude Bouillin - (Internet: bouillin@ntc.nokia.com) Phone 358-0-511 7736
(X.400: C=FI,A=Elisa,P=Nokia Telecom,S=Bouillin,Gi=Claude)
Nokia Telecommunications, PO box 12, 02611 Espoo, Finland Fax 358-0-511 7432
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<BOUILLIN.92Sep1164052@node_3f5e2.ntc.nokia.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!nokia.fi!tele.nokia!bouillinReferences:
<92245.122042A10742@TRMETU.BITNET>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!nokia.fi!tele.nokia!bouillin From: bouillin@ntc.nokia.com (Claude Bouillin) Subject: Re: Why ms-dos is non reentrant In-Reply-To: Pinar Aydemir's message of Tuesday, 1 Sep 1992 12:20:42 TUR Message-ID: <BOUILLIN.92Sep1164052@node_3f5e2.ntc.nokia.com> Sender: usenet@noknic.nokia.fi (USENET at noknic) Nntp-Posting-Host: ape.ts.tele.nokia.fi Reply-To: bouillin@ntc.nokia.com Organization: kpd References: <92245.122042A10742@TRMETU.BITNET> Date: Tue, 1 Sep 1992 14:40:52 GMT Lines: 26