The difference between a software interrupt and a signal

"Software interrupts are delivered using signals"

This is always true, if not then

a) what is the difference between the two

If so, is there any other mechanism by which software interruptions occur other than signal delivery.

+3
source share
2 answers

The author of this quote seems to use "Program Interruption" in a very general sense (that is, "everything that causes the program to deviate from normal movement and does not occur due to hardware") and "signals" in the meaning of the particular mechanism used specific operating system (probably derived from unix).

+1
source

Yes, it is always true that software interrupts are delivered using signals to the operating system. In fact, even hardware interrupts themselves are delivered using signals to the operating system.

A signal is an IPC (inter process communication) mechanism that is used by the interrupt mechanism to notify that something has happened.

0
source

Source: https://habr.com/ru/post/1339654/


All Articles