Puedes seguirnos en

BUSCADOR

Engineering

What is an interrupt?

Interrupt is a signal sent to the processor by a software or an hardware, which has a high priority. An interrupt causes the microprocessor to suspend the current thread and provide service to the interrupt. The thread which has been suspended, will continue its execution from the previous state, once the interrupt is serviced.

[one_half]

 

The program which provides the service to the interrupt is called as Interrupt service routine(ISR) or Interrupt handler. ISR can hold multiple interrupts in a queue, which are organized by the priority of each interrupt. This means that the interrupt with the highest priority will get serviced first and then the rest will be served depending on the priority of each interrupt.

Anuncio publicitario

A single computer can only perform one operation at a time, but since the operations can be interrupted, multitasking is archived.

[/one_half]

[one_half_last]Interrupts[/one_half_last]

Interrupt can be a:

  • Software Interrupt.
  • Hardware Interrupt.

Escrito por

Administrador de ENGGDRCAOS. Canal dedicado especialmente a la formación del estudiante que aspira a ser ingeniero. Todos los videos son Ingles. Apasionado del universo Apple, estudiante de Ingeniería y Gamer por vocación.

Publicidad

ARTÍCULOS RELACIONADOS

Engineering

Singly linked list is a type of list which uses dynamic representation rather than a much simpler and versatile static representation. Dynamic representation is...

Engineering

Queue is a very useful data structure. Various features of operating system are implemented using queue. Scheduling of processes (Round Robin Algorithm) Spooling (to...

Engineering

Maximum size of the queue is fixed at the time of compilation, when the queue is represented using an array, this causes wastage of...

Engineering

Stack is a LIFO(Last in first out) structure. Stack can be represented using an one-dimensional array which can hold the elements of a stack....