Skip to content

🎉 Runs GUI and Kernel on separate threads#58

Merged
MathisFederico merged 3 commits intomasterfrom
feature/multithreading
Nov 21, 2021
Merged

🎉 Runs GUI and Kernel on separate threads#58
MathisFederico merged 3 commits intomasterfrom
feature/multithreading

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