[Mono-bugs] [Bug 77021][Nor] Changed - [PATCH] Async IO isn't
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Jan 2 19:30:11 EST 2006
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 miguel at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77021
--- shadow/77021 2005-12-26 00:24:04.000000000 -0500
+++ shadow/77021.tmp.6565 2006-01-02 19:30:11.000000000 -0500
@@ -60,6 +60,14 @@
sync FileStreams are never async.
How about using a sync FileStream descendant for the console
whose BeginRead/Write are implemented using async delegates?
It will use the pool only when requested to do so.
+
+------- Additional Comments From miguel at ximian.com 2006-01-02 19:30 -------
+I like that plan.
+
+A special version of FileStream which is sync internally, but that
+implements the Async method using BeginInvoke (and hence the threadpool).
+
+That will give us the behavior we want.
More information about the mono-bugs
mailing list