Message47100
Logged In: YES
user_id=488897
One more fix: I noticed that on Windows, the patch causes
the CPU usage to go up to 100%. The reason for this is that
if the users presses a control key (e.g. shift), the
WaitForSingleObject function returns, but _kbhit() returns
false since no character input is waiting in the buffer.
Hence, the loop continues to run, and WaitForSingleObject
will again return because the control key stroke has not
been flushed from the buffer. The fix is in the patch dated
20050803, which is to flush the buffer with
FlushConsoleInputBuffer if a key was hit but no character
input is available. |
|
Date |
User |
Action |
Args |
2007-08-23 15:40:15 | admin | link | issue1049855 messages |
2007-08-23 15:40:15 | admin | create | |
|