Signals: Kernel-generated only?

0

Can processes really "generate" signals or they just request the kernel to send the signal on their behalf?

And what about hardware interrupts? Do they get translated to software interrupts? Like, can the CPU interrupt a process directly? or through the kernel?

WikiWitz

Posted 2013-01-09T06:46:40.293

Reputation: 1 233

Answers

1

Signals get delivered by the kernel.

Any interrupt generated by the CPU will get intercepted by the kernel (this is a cornerstone of the whole "kernel keeps control always" idea).

What are you trying to do? It is better to state the whole problem, you might get stuck in your approach when there are much better ones available.

vonbrand

Posted 2013-01-09T06:46:40.293

Reputation: 2 083

No need for that, I just wanted to have a clear picture in my head of how signals get delivered before I "listen" to any abstractions by other textbooks/materials. Thanks! – WikiWitz – 2013-01-11T22:07:33.027