POV-Ray : Newsgroups : povray.off-topic : Does anybody know this? : Re: Does anybody know this? Server Time
11 Oct 2024 11:13:28 EDT (-0400)
  Re: Does anybody know this?  
From: Darren New
Date: 2 Dec 2007 15:53:55
Message: <47531b63$1@news.povray.org>
Jim Henderson wrote:
> See, to me, that's not much different than a function call - just a very 
> directly implemented function call. :-)

Well, yah, except you say "invoke this function when you get that 
interrupt", and you don't set up the interrupt table yourself, and you 
don't have to deal with turning interrupts on and off, generating 
special return instructions, managing the priorities, etc.

Kind of the difference between having threading or dynamic loading in a 
language, and invoking an OS-specific library for it. Functionally 
pretty similar, except you only have to learn it once and it generally 
works out better/easier to use.

> But probably closer to invoking, say, INT21 than you would do from C 
> using inline - though the generated code by the compiler would probably 
> be very close.

I'm talking about handling interrupts, like in the kernel or a device 
driver, rather than generating interrupts. If that's the confusion... :-)

-- 
   Darren New / San Diego, CA, USA (PST)
     It's not feature creep if you put it
     at the end and adjust the release date.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.