Mail Archives: djgpp/1998/06/14/06:31:22
On Thu, 11 Jun 1998, Shawn Hargreaves wrote:
> But the original poster was asking about a _software_ interrupt handler:
> my understanding is that you don't actually need to lock the memory used
> by these, as long as they can only be called by user level programs and
> not by DOS itself...
You can indeed avoid locking a handler of a software interrupt, but
you need a lot of care to do that correctly, especially if the
interrupt is called from the real-mode code. And since the original
poster didn't post enough info for me to understand in what
environment does their handler need to work, I thought locking advice
is a prudent thing to do.
- Raw text -