commit | 42353cab893692f53c29534b2fb7ac16daa4cbc8 | [log] [tgz] |
---|---|---|
author | Corey Tabaka <corey.tabaka@gmail.com> | Wed Jul 21 15:59:46 2010 -0700 |
committer | Ajay Dudani <adudani@codeaurora.org> | Thu Jul 28 13:11:03 2011 -0700 |
tree | 090524aef6ffd4863985dfe3beb27d1844a57d7e | |
parent | 8b99c680e23830132d9ffd71bc7178e9e377b036 [diff] |
[pc] Make platform_read_key idle on wait queue. Fixes hack in dgetc using arch_idle. Now platform_read_key uses a wait queue to sleep until a key is available in the key buffer, allowing the idle thread or other threads to run. Since the idle thread gets a chance to run, idle time accounting is now unbroken.