Dear Yodaiken,

I've remove the bug in my keyboard irq.

When a key is typed , a rt thread which is blocking waiting for the key
should be wakeup. The wakeup should be done by first changing the thread
state to RTL_THREAD_READY then calling rtl_schedule or rtl_reschedule.

I forgot to call rtl_schedule. I made this mistake because I've assumed that
schedule will be done when irq returned. This is the way Linux do.

So the question is that if it is reasonable to let rtlinux do rtl_schedule
when it returned from a realtime interrupt?


Thanks

Regards
Dyd






-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to