What is Threading Interrupt?

(NB: this is not about interrupting Java / .NET threads, it's about kernel mode interrupts.)

Hi,

Wikipedia has something to say about interrupt streams in the Interrupt Handler :

Thread interruption

Several operating systems - Solaris, NetBSD, Mac OS X, WinCE and FreeBSD, for example, use a different scheme known as interrupt flows. the interrupt handler provided by the device driver is just a priority thread that works with interrupts and, more importantly, a block on the mutex. This greatly simplifies locking in the kernel. In addition, the interrupt flow may be supplanted by a higher priority interrupt thread.

What is the thread interrupt technology that FreeBSD (among others) seems to be using? And where can I find out more about this?

Thanks in advance.:)

+5
source share
2 answers

The hardware reports interruptions to the operating systems of an event. They can be raised when an error occurs or if some peripheral devices have new data (the user pressed a key, a packet received on the network, a timer expired, ...). These interrupts must be quickly processed by the system (so that it looks responsive).

. , , . , , , - , - . , , , , , - .

( - NMI), ​​ , . , , , .

+2

- FreeBSD ithread (9).

+1

All Articles