Christof Petig wrote:

So here's my first part:
- nonblocking win32 pipe classes. Tested and working on unix, Compiling
and blocking on win32 :-(
By blocking I meant: Not doing anything.

I've not seen your code but maybe this can help with nonblocking pipes
under windows
http://mail.python.org/pipermail/python-dev/2001-January/012179.html
Interesting link. But my main problem was/is to emulate select (with
timeout) on a pipe on Win32. I do not (yet) see where this could help here.
It is about how to do nonblocking check on a file descriptor descriptor to see if there is some data available. It is not as heavy weight as a full select.

If you need the full select, why don't you try WaitForMultipleObjects(Ex)? IIRC it should allow you to wait on any waitable object (file descriptor should be waitable) with timeout...

Zbynek

--
http://zw.matfyz.cz/     http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic



_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to