IPython Documentation

Table Of Contents

Previous topic

Module: parallel.apps.logwatcher

Next topic

Module: parallel.apps.winhpcjob

This Page

Note

This documentation is for a development version of IPython. There may be significant differences from the latest stable release.

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.

Authors:

  • MinRK

1 Class

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

Bases: threading.Thread

__init__(sock, fd)
run()

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)