forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shell: make task list available before shell.init
Problem: It would be convenient to have access to the shell task list in the shell.init plugin callback, but currenty the shell creates, initializes, and starts tasks in a single loop. Split task creation and start into separate functions: - shell_create_tasks() which creates all local tasks and adds them to the shell->tasks list. - shell_start_tasks() which completes task initialization and starts the tasks. Move shell_create_tasks() before the shell.init callback is invoked.
- Loading branch information
Showing
1 changed file
with
84 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters