Blocking or sleeping an interrupt handler -


assume:
1) multi-cpu environment
2) process gets interrupted, same process executes interrupt handler, guess technically nothing gets interrupted except process doing before, still executing executing handler.
3) there no top or bottom half, when interrupt takes place handler invoked, executes, return interrupt, simple that.

why sleeping handler (puts in sleep queue, context switch next runnable process) bad idea?

pls refer why kernel code/thread executing in interrupt context cannot sleep?

i posted answer. hope makes sense you.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -