[Mono-bugs] [Bug 417061] [Win32] Console.ReadKey() does not actually wait for input
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jun 1 19:17:11 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=417061
User dressedinblue at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=417061#c3
Francisco Saldana <dressedinblue at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dressedinblue at gmail.com
--- Comment #3 from Francisco Saldana <dressedinblue at gmail.com> 2009-06-01 17:17:10 MDT ---
This bug tripped me up pretty badly. I have code in my main method that looks
like this:
while (true) {
Console.ReadKey();
/// ...
}
I ran this code under mono on linux, within a script:
#!/bin/bash
mono MonoTest.exe &
And it consumed my CPU. I was looking everywhere else for the source of the
problem, because simply typing "mono MonoTest.exe &" directly into bash did not
produce the same behavior, as did running it under .NET.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list