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

🎉 Runs GUI and Kernel on separate threads #58

Merged
merged 3 commits into from
Nov 21, 2021

Conversation

AlexandreSajus
Copy link
Contributor

Adds multithreading to separate GUI and Kernel executions

Fixes #50
Fixes #46

but worsens #25 (will be fixed after #48)

Copy link
Member

@MathisFederico MathisFederico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for now, this will be improved next week

Comment on lines +149 to +152
worker = Worker(self.source_editor.kernel, self.source)
worker.signals.stdout.connect(self.handle_stdout)
worker.signals.image.connect(self.handle_image)
self.source_editor.threadpool.start(worker)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for now, we will talk about that point tomorrow anyway

@MathisFederico MathisFederico merged commit 843b732 into master Nov 21, 2021
@MathisFederico MathisFederico deleted the feature/multithreading branch November 21, 2021 19:27
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.

App freezes when running a cell Application crashes when ctrl+Z while a cell is running
2 participants