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

Gui crashes if OpenMP takes too long #9

Open
AmericanEnglish opened this issue Jul 10, 2017 · 1 comment
Open

Gui crashes if OpenMP takes too long #9

AmericanEnglish opened this issue Jul 10, 2017 · 1 comment

Comments

@AmericanEnglish
Copy link
Owner

This is an expected crash sadly. If OpenMP takes too long the GUI becomes unresponsive. This is entirely due to the fact that OpenMP is being called inside the main thread with window. Really it should should be called via QThread. Read here for more information:

https://mayaposch.wordpress.com/2011/11/01/how-to-really-truly-use-qthreads-the-full-explanation/

This should stop the program from being killed by the OS. Of course some other window would need to be added while the main program updates and patiently waits for the thread to finish.

@AmericanEnglish
Copy link
Owner Author

OpenMP has been removed. While may still stand it is not, however, a problem right now. I'll leave the issue open in case I ever decide to put OpenMP back into rSearch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant