Skip to content

Conversation

satra
Copy link
Member

@satra satra commented May 1, 2013

finishing clean up of #494

Daniel Haehn and others added 6 commits November 25, 2012 21:57
…al multiprocessing pool. This adds support for hierarchical multiprocessing (child classes can use multiprocessing again).

The code is based on the following StackOverflow answer:
http://stackoverflow.com/a/8963618/1183453
The testing scenario spawns 2 subprocesses which spawn each 2 child subprocesses. By default, this fails in Python since subprocesses are not allowed to spawn its' own subproccesses.

We test first if the execution of the scenario fails when the nondaemon_flag is False. This is expected.
Then, we test if the execution succeeds when the nondaemon_flag is True.
@satra satra mentioned this pull request May 1, 2013
satra added a commit that referenced this pull request May 1, 2013
@satra satra merged commit 6b19469 into nipy:master May 1, 2013
@satra satra deleted the fix/danmultiproc branch May 1, 2013 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant