-
Notifications
You must be signed in to change notification settings - Fork 14
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
Timeouts #99
Comments
Experiments indicate Control.DeepSeq is what is needed |
This issue is to implement the 'timeout' option from the AQL language spec. |
I added NFData instances and tried to used deepseq, but timeouts still don't work. |
deepseq induces non-termination, see Employee example. |
Someone on the internet claims you can fork two threads, one that does the computation and the other which sleeps for X seconds, and the first one to complete destroys the other. That is how the java version works. |
The forking version works. |
Implement a feature that allows the program to stop after a certain time has passed since the computation started.
The text was updated successfully, but these errors were encountered: