From: kernelnewbies-bounces@xxxxxxxxxxxxxxxxx [mailto:kernelnewbies-bounces@xxxxxxxxxxxxxxxxx]
On Behalf Of Woody Wu Hi List, What will happen if call msleep() in an interrupt handler? I knew the msleep() will cause the calling process to sleep, but in the context of interruption, there is no process, so
I am wondering what is getting 'sleep' in this situation. -woody
If you are lucky you’ll get a message along the lines of “scheduling while atomic” on your console to let you know you’ve blown it. At least that’s what I’ve
seen when I’ve blown it like that. 8^) Jeff Haran |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies