This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: parallel.apps.win32support

Utility for forwarding file read events over a zmq socket.

This is necessary because select on Windows only supports sockets, not FDs.


  • MinRK

1 Class

class IPython.parallel.apps.win32support.ForwarderThread(sock, fd)

Bases: threading.Thread

__init__(sock, fd)

Loop through lines in self.fd, and send them over self.sock.

1 Function

IPython.parallel.apps.win32support.forward_read_events(fd, context=None)

Forward read events from an FD over a socket.

This method wraps a file in a socket pair, so it can be polled for read events by select (specifically zmq.eventloop.ioloop)