[Mono-bugs] [Bug 399245] [Serial Ports] Infinite timeout on write fix

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 19 07:44:42 EDT 2008


User skolima at gmail.com added comment

--- Comment #7 from Leszek Ciesielski <skolima at gmail.com>  2008-08-19 05:44:42 MDT ---
>From 'man poll' :

"The  timeout  argument  specifies  an upper limit on the time for which
poll() will block, in milliseconds.  Specifying  a  negative  value  in
timeout means an infinite timeout."

We can't provide a test case here because one needs hardware (receiver) to test
this behaviour.

The current situation is that with infinite timeout set (-1), writes return
immediately regardless of whether they managed to write the data or not (the
poll is not executed), and this should happen only with a timeout of 0.

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