Handling interrupts
@giulioungaretti is already working on this.
Since May 8, 2017.
- Dominant language
- Python
- Stars
- 459
- Forks
- 359
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 73
Description
Hi all (esp you @eendebakpt @peendebak @MerlinSmiles ),
let's use this issue to fix the problem of handling interruptions.
There are two parts to this problem:
- How to deal with blocking instruments call:
1. Let the instrument finish (at all costs) unless a hard stop is requests (like force interrupt)
2. Break the blocking call, leaving the instrument in a potentially undefined state (if something was request but not read f.ex. of if an command write was interrupted before the entire command was written)
- Where to stop in a loop (but since may people have their own loop that's maybe less important):
1. It does not matter
2. At every sate change ( basically any I/O: send command to instrument, write to disk etc)
3. None of the above
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.