www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/22/08:21:55

From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Are DPMI functions reenterent?
Date: Fri, 18 Oct 1996 22:10:50 GMT
Lines: 31
Message-ID: <845676572.7464.0@abwillms.demon.co.uk>
References: <3265DD58 DOT 3721 AT rangenet DOT com> <3266ac24 DOT SANDMANN AT clio DOT rice DOT edu>
NNTP-Posting-Host: abwillms.demon.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>> I've been using a dynamic stack instead of a static stack in my
>> interrupt routines.  Is it SAFE to call DPMI functions (501 and 502)
>> while servicing an interupt.  My program used to lock up when I used a
>> static stack.

<many good niggles by Charles deleted>

Indeed, it's best to preallocate stacks; then you can guarantee
they'll be there when needed in a hurry!

If you are writing hardware interrupt handlers, consider my libhw
library, which does most of the hard work for you. It's currently in
beta, so any bugs should be reported - it works on my system, but
that's no guarantee for anyone elses!

http://www.abwillms.demon.co.uk/prog/

Regards,


ABW
---

COMPUTER: We are in position over the Rebel homeworld.
VADAR: Engage the Death Star primary weapon, let those rebel worms die!
COMPUTER: Sorry, your evaluation version of Battle Computer 3.0 has expired. 
          Please send 2.6 billion dollars to the address in REGISTER.TXT

Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.abwillms.demon.co.uk/">Hello :-)</A>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019