[Mono-bugs] [Bug 689976] Console.ReadKey() uses over 90% of CPU if stdout is redirected

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 26 12:20:01 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=689976

https://bugzilla.novell.com/show_bug.cgi?id=689976#c1


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vargaz at gmail.com

--- Comment #1 from Zoltan Varga <vargaz at gmail.com> 2011-04-26 16:20:01 UTC ---
This is because  Console.ReadKey(true).KeyChar returns 0 immediately, so the
test program spins in an infinite loop.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list