Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
    
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 '13 at 22:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.