Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Lifecycle of a kernel #8

Closed
wants to merge 1 commit into from
Closed

Conversation

rgbkrk
Copy link
Member

@rgbkrk rgbkrk commented Mar 9, 2016

This is one helper method of many that are possible for killing.

Some will want a nice soft kill, sometimes you want a hard kill, sometimes you want to tell the kernel to politely shut down (using the messaging spec), etc. This one is a hard fast shut down.

Open to discussion.

@jdfreder
Copy link
Contributor

jdfreder commented Mar 9, 2016

Seems the hard kill is trivial. Wouldn't it make more sense to implement the shutdown request since that is the most complex shutdown method?

@jdfreder
Copy link
Contributor

jdfreder commented Mar 9, 2016

Also, could you add a simple unit test?

@rgbkrk
Copy link
Member Author

rgbkrk commented Mar 9, 2016

Definitely. As I work on the build-your-own-repl guide I'll be coming back to this.

@jdfreder
Copy link
Contributor

Actually the shutdown request should be a helper method in the enchannel repo I think

@jdfreder
Copy link
Contributor

Related nteract/enchannel#9

@rgbkrk
Copy link
Member Author

rgbkrk commented Mar 20, 2016

I feel like you've already replaced what I've done here right @jdfreder? Should I close this?

@rgbkrk rgbkrk closed this Mar 26, 2016
@rgbkrk rgbkrk deleted the kill-it branch March 26, 2016 22:16
@rgbkrk
Copy link
Member Author

rgbkrk commented Mar 26, 2016

This is replaced by the other enchannel shutdown bits I think.

I'll leave it up to Jon to revisit, I don't need this branch any more.

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.

None yet

2 participants