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

need to handle case when coqtop hangs. #4

Open
aa755 opened this issue Aug 16, 2013 · 2 comments
Open

need to handle case when coqtop hangs. #4

aa755 opened this issue Aug 16, 2013 · 2 comments

Comments

@aa755
Copy link
Owner

aa755 commented Aug 16, 2013

kill the coqtop process, start a new one and compile to the last successfully compiled offset?
right now; the editor seems to become slightly unresponsive when this unhappens.
cursor movement works, but cannot type anything.
Check if it is possible to handle coqio in a thread which does not mess up with editor's core functions.
Probably, once I was not able to save the file when coqtop hanged -- this is really bad.

right now, coq io is done in a thread created by org.openide.util.RequestProcessor;

@aa755
Copy link
Owner Author

aa755 commented Aug 31, 2013

after removing some locks, the IDE freeze issue seems to be gone.
(probably, the IDE UI threads were waiting on locks held by the thread
talking to coqtop)

@aa755
Copy link
Owner Author

aa755 commented Oct 2, 2013

As mentioned in coq-club forum, to interrupt coqtop when it is taking too much time on
a single command, manually send SIGINT to the associated coqtop process. In windows, I have had success w/
http://www.latenighthacking.com/projects/2003/sendSignal/

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

No branches or pull requests

1 participant