C++ Interrupts
Hello,
Does anyone know of any decent tutorials on the subject of using interrupts in windows XP?
Is there a particular reason why none of the API programming tutorials I read, mention the use of interrups?
Thankyou
Regards Newbie
# 1 Re: C++ Interrupts
Well, interrupts aren't an application development concept. For that notion you're considering device drivers or something similarly interior to the OS.
Operating systems generally use callbacks instead. It's only a notch of higher level. Interrupt response functions have different means of returning, may require care taken to re-entrance issues, might have to handle CPU specific features like masking interrupts during service.
Callbacks are just functions, with respect to the operating system, and so they're slightly more 'natural' to C/C++ development, and operate in an application domain (they can ignore CPU interrupt masking, for example).
Are you thinking of writing a device driver, or something that actually requires interrupt service routines?
JVene at 2007-11-9 13:33:02 >

# 2 Re: C++ Interrupts
Hello,
Thanks for the help.
I wish to interface my pc to a dataradio via the serial port. I need to present the data to the radio at regular intervals, through the use of a timed interrupt.
From what your message stated, it does sound like I will be writing a device driver.
Cheers