Skip to content

Update runtime.md - #157

Merged
vbatts merged 1 commit into
opencontainers:masterfrom
liangchenye:master
Sep 10, 2015
Merged

Update runtime.md#157
vbatts merged 1 commit into
opencontainers:masterfrom
liangchenye:master

Conversation

@liangchenye

Copy link
Copy Markdown
Member

Add an explicit explanation of the hooks order.

Signed-off-by: Liang Chenye liangchenye@huawei.com

@liangchenye

Copy link
Copy Markdown
MemberAuthor

Clean the original PR #156..

@vbatts

Copy link
Copy Markdown
Member

LGTM

Comment threadruntime.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably no need to add this empty line.

@philips

Copy link
Copy Markdown
Contributor

lgtm

@vbatts

Copy link
Copy Markdown
Member

@liangchenye rebase needed for merging

Add an explicit explanation of the hooks order.
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
@liangchenye

Copy link
Copy Markdown
MemberAuthor

@vbatts done.

vbatts added a commit that referenced this pull request Sep 10, 2015
@vbatts
vbatts merged commit 51c9265 into opencontainers:masterSep 10, 2015
wking added a commit to wking/opencontainer-runtime-spec that referenced this pull request Dec 11, 2015
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]: opencontainers#20 (comment)
[2]: opencontainers#156
[3]: opencontainers#157
Signed-off-by: W. Trevor King <wking@tremily.us>
Sign up for freeto 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.

5 participants

@liangchenye@vbatts@philips@wking@ababyshark