IPython Documentation

Table Of Contents

Previous topic

parallel.apps.logwatcher

Next topic

parallel.apps.winhpcjob

This Page

parallel.apps.win32support

Module: parallel.apps.win32support

Inheritance diagram for IPython.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

ForwarderThread

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

Bases: threading.Thread

__init__(sock, fd)
daemon
getName()
ident
isAlive()
isDaemon()
is_alive()
join(timeout=None)
name
run()

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

setDaemon(daemonic)
setName(name)
start()
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)