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?

1 Answer 1

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.

1
  • 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
    Jan 11, 2013 at 22:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .