Skip to content
Snippets Groups Projects
  • Mark A. Grondona's avatar
    591d8934
    slurmstepd: Move wait-for-parent code into fork_all_tasks · 591d8934
    Mark A. Grondona authored
    Move the code that waits for parent signal before exec(2) out of
    exec_task() and into fork_all_tasks() directly. This makes all
    the code that handles the fork-and-wait into slurmstepd/mgr.c,
    and allows the exec_wait_child_wait_for_parent() function to
    be used in place of explicit read().
    591d8934
    History
    slurmstepd: Move wait-for-parent code into fork_all_tasks
    Mark A. Grondona authored
    Move the code that waits for parent signal before exec(2) out of
    exec_task() and into fork_all_tasks() directly. This makes all
    the code that handles the fork-and-wait into slurmstepd/mgr.c,
    and allows the exec_wait_child_wait_for_parent() function to
    be used in place of explicit read().