]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[console] Sleep while waiting for user input
authorMichael Brown <mcb30@ipxe.org>
Tue, 24 Jul 2012 08:52:45 +0000 (09:52 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 24 Jul 2012 08:56:36 +0000 (09:56 +0100)
commit183a70e8b783ec143e8c30296f1a7c3c7de193d7
tree1cd1f69a9b6e00b537d2fc51eec6a8a51a54ac2d
parentfb7c022c2c72c4e3a549cb7a9157e60ef2e42b09
[console] Sleep while waiting for user input

Reduce CPU usage while waiting for user input.  This is particularly
important for virtual machines, where CPU is a shared resource.

Reported-by: Alessandro Salvatori <alessandro@embrane.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/getkey.c