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

Better stopping behaviour for snips #27

Closed
wants to merge 3 commits into from
Closed

Conversation

tcstewar
Copy link
Collaborator

We now send an explicit stop signal, and once that is received the snip will just return immediately.

We needed better stopping behaviour for working with nengo_gui (since we don't know when the simulator might be closed). It also handles pressing Ctrl-C while your model is running, which might be handy.

[EDIT:] This PR may need to be re-thought in terms of making it fit with #26 , which made some big changes to the communication protocol between chip and host.

Terry Stewart and others added 3 commits August 20, 2018 14:27
We now send an explicit stop signal, and once that is received
the snip will just return immediately.
They should not be inside the with; data may not be transferred
off the board until the context manager exits.
@tcstewar tcstewar mentioned this pull request Aug 24, 2018
@tbekolay tbekolay changed the title WIP: Better stopping behaviour for snips Better stopping behaviour for snips Sep 29, 2018
@tbekolay
Copy link
Member

Since #28 includes the main commit in this branch, I'm going to close this and deal with reviewing that commit in #28. The extra ones I added here I will move into a separate PR.

@tbekolay tbekolay closed this Sep 29, 2018
@tbekolay tbekolay deleted the stopping-snips branch September 29, 2018 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants