Thank you glyph and Itamar.<br>
<br>
The idea to use named pipes occured to us very late in our dev.
process, at a point where we really have to do things quickly. We think
that we should adopt named pipes nonetheless because they should save
us a lot of other work.<br>
<br>
Looking at WaitForMultipleObjects, it doesn't seem like named pipes
fit. We would have to use overlapping IO and events for that. <br>
<br>
Since we use wxreactor, we probably can't use win32eventreactor as-is.<br>
<br>
What is most accessible to us, we think, it to create threads and
block. So that's what we're going to do, at least until we have time to
do something nicer. We will contribute it, if we think it's good. We
probably won't think it's much good, though. Sorry.<br>
<br>
Thanks again. <br>
<br><div><span class="gmail_quote">On 20/06/06, <b class="gmail_sendername">Itamar Shtull-Trauring</b> &lt;<a href="mailto:itamar@itamarst.org">itamar@itamarst.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 2006-06-20 at 14:03 -0400, <a href="mailto:glyph@divmod.com">glyph@divmod.com</a> wrote:<br><br>&gt; &gt;2. how hard would it be<br>&gt;<br>&gt; To do it properly?&nbsp;&nbsp;You can't select() on named pipes in Windows, so
<br>&gt; you'd have to work with IOCP, which I unfortunately understand only at<br>&gt; a high level.&nbsp;&nbsp;Hopefully someone who has worked with iocpreactor can<br>&gt; answer your questions (hint, hint).<br><br>That's not completely accurate. I'm faily certain you can use named
<br>pipes with WaitForMultipleObjects, so you could probably implement this<br>relatively easily with the win32eventreactor.<br><br>If they support non-blocking operations it should be easy to implement<br>using t.i.abstract.FileDescriptor
 as a basis; if they don't you can<br>probably steal most of the code from the win32 process support.<br><br><br><br>_______________________________________________<br>Twisted-Python mailing list<br><a href="mailto:Twisted-Python@twistedmatrix.com">
Twisted-Python@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br></blockquote></div><br>