Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

Subprocess and multithreading #52

@GoogleCodeExporter

Description

@GoogleCodeExporter
There is code for executing subprocesses from nested event loops: 
https://codereview.appspot.com/12580048/

The code is needed for more tests, sure.

I'd removed signal.set_wakeup_fd because:
1. all selectors had woke up on EINTR, signal handler executed then.
2. sighandler use call_soon_threadsafe to run loop handler

My change has side-effect: all loops which register some signal will get 
notification when signal received, not only the last one. I assume that's ok.

Running subprocesses from loops which executed from non-main thread doesn't 
supported yet.

Thoughts?

Original issue reported on code.google.com by andrew.s...@gmail.com on 10 Aug 2013 at 5:30

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions