Commit 330223b
committed
runtime-config: Require serial hook execution
Extend [1,2,3] to avoid:
hook 1: spawn ---------------> reaped
hook 2: spawn ----------------> reaped
hook 3: spawn -----> reaped
and explicitly require:
hook 1: spawn --> reaped
hook 2: spawn --> reaped
hook 3: spawn --> reaped
Folks who do want parallel execution are free to use a parallelizing
wrapper:
hook 1: spawn ---------------------------> reaped
child 1 -----> reaped
child 2 ---------> reaped
child 3 ---> reaped
Although that cuts both ways (with parallel hooks, folks could always
use a single hook with a serializing wrapper). Still, I'd guess most
current implementations are already taking the serialized approach, so
it makes bundle-author life easier if we are explicit about that.
[1]: #20 (comment)
[2]: #156
[3]: #157
Signed-off-by: W. Trevor King <[email protected]>1 parent 772f073 commit 330223b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments