[Mono-bugs] [Bug 79073][Nor] Changed - System.IO.Ports read timeout bug

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jan 19 13:14:10 EST 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by skolima at gmail.com.


--- shadow/79073	2007-01-19 13:13:57.000000000 -0500
+++ shadow/79073.tmp.28230	2007-01-19 13:14:10.000000000 -0500
@@ -30,6 +30,17 @@
 59625 fixes the behaviour.
 ------- Additional Comments From skolima at gmail.com  2007-01-19 13:13 -------
 Created an attachment (id=18521)
 Patch fixing the behaviour
+------- Additional Comments From skolima at gmail.com  2007-01-19 13:14 -------
+This has been fixed in current mono. The code released in 1.1.16 was
+in the middle of changes.
+Currently the timeout is implemented through a call to poll(2).
+However, it does not handle EINTR correctly, leading sometimes to
+unexpected TimeoutExceptions.
+A patch to mono/support/serial.c is attached that fixes this behavior.

More information about the mono-bugs mailing list