[Mono-bugs] [Bug 77021][Nor] Changed - [PATCH] Async IO isn't
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Dec 26 00:24:04 EST 2005
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 robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=77021
--- shadow/77021 2005-12-19 15:39:55.000000000 -0500
+++ shadow/77021.tmp.7681 2005-12-26 00:24:04.000000000 -0500
@@ -10,13 +10,12 @@
Component: System
AssignedTo: dick at ximian.com
ReportedBy: lewing at ximian.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Cc:
Summary: [PATCH] Async IO isn't
When I run the attached program I'd expect the BeginRead call to return
before the pipe is written to.
------- Additional Comments From lewing at ximian.com 2005-12-17 00:38 -------
@@ -51,6 +50,16 @@
will also bring all the slowness associated with using a separate
thread to get the job done and the synchornization required to get the
data back and forth.
I would rather have us implement a custom Unix Async stream that will
not use the threadpool for the console.
+
+------- Additional Comments From robertj at gmx.net 2005-12-26 00:24 -------
+Oops! I see. Async FileStreams are using the threapool even
+for the sync read/write operations, whereas BeginRead/Write of
+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.
+
More information about the mono-bugs
mailing list