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

Streamlined thread message passing #10

Closed
jon-axon opened this issue Feb 22, 2023 · 1 comment
Closed

Streamlined thread message passing #10

jon-axon opened this issue Feb 22, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jon-axon
Copy link
Owner

Current v0.1 GUI code has functional message passing implemented for communication between the UI and back-end threads, however this is very much proof-of-concept code, and should be reviewed and refined. In particular:

  • Can the number of channels be reduced (currently 3 are used)?
  • Can the messages passed be made more robust (e.g. inclusion of new types rather than primitives)?
@jon-axon jon-axon added the enhancement New feature or request label Feb 22, 2023
@jon-axon jon-axon added this to the v0.5 (Improved GUI PoC) milestone Feb 22, 2023
@jon-axon jon-axon self-assigned this Feb 22, 2023
@jon-axon jon-axon changed the title Streamlined message passing between Processor and egui threads within GUI Streamlined thread message passing Feb 22, 2023
jon-axon added a commit that referenced this issue Mar 14, 2023
@jon-axon
Copy link
Owner Author

Channels reduced from 3 to 2 (one Chipolata -> UI, and one UI -> Chipolata), with new enums to differentiate different messages types sent on these channels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant