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

Attempt recovery from interrupted syscalls #83

Merged
merged 2 commits into from
Nov 28, 2014

Conversation

krukow
Copy link
Contributor

@krukow krukow commented Nov 28, 2014

Rarely send_command fails with an error similar to

Interrupted system call - /tmp/run_loop20141101-1611-17aghro/repl-cmd.pipe when running command 
(uia.tapOffset('{:x 152 :y 101.5}');uia.keyboard().typeString('damnyouautocorrect');) via strategy host.

This pull request attempts to recover from this failure by allowing the interruption. We first assume the command was correctly received and try awaiting a reply. If that fails we retry sending the command entirely.

krukow added a commit that referenced this pull request Nov 28, 2014
Attempt recovery from interrupted syscalls
@krukow krukow merged commit 7d19e70 into develop Nov 28, 2014
@krukow
Copy link
Contributor Author

krukow commented Nov 28, 2014

pre-released as run_loop 1.1.1.pre7

@krukow krukow deleted the fix-more-stable-write_request branch November 28, 2014 23:13
This was referenced Dec 2, 2016
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.

1 participant