### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# 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)

### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »