APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

SCO Unix, Xenix and ODT General FAQ

What are interrupts?

A device generally uses interupts to tell the CPU that it is done doing whatever it was told to do and is ready for more, or when it receives data that the CPU needs to process. For example, a parallel or serial port or a NIC card all generate an interrupt when they have finished sending data, and also if data arrives at their port from outside. That's why sharing interrupts is difficult- if interrupts can be shared, the CPU has to figure out what device really needs attention- therefore it's unlikely that two different devices could share interrupts, although two devices controlled by the same driver may be able to. If your process just hangs when you try to access a device, it may very well be because the interrupt is wrong: the CPU expects the thing to interrupt on 9 for example) but it is actually set to 10- the CPU never knows to wake up the driver to process whatever happened.

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> (SCO Unix) What are interrupts?

Increase ad revenue 50-250% with Ezoic

Kerio Samepage

Have you tried Searching this site?

Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

The real problem is that programmers have spent far too much time worrying about efficiency in the wrong places and at the wrong times; premature optimization is the root of all evil (or at least most of it) in programming. (Donald Knuth)

This post tagged: