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

On the fly modification of the running printer threads #8

Open
tperale opened this issue Dec 25, 2020 · 2 comments
Open

On the fly modification of the running printer threads #8

tperale opened this issue Dec 25, 2020 · 2 comments
Labels
high priority Should be fixed asap because it block the dev of new features

Comments

@tperale
Copy link
Collaborator

tperale commented Dec 25, 2020

On the fly modificaiton of the "printer" threads require a rework of the program structure. All the messages will be sent to the "main" program thread and the print messages will then be dispatched to the correct "printer" thread with the help of a "Queue". The queue will help to make the difference between a print message or a control message to change the behaviour of the printer thread (changing address, port, destination, format, etc ...)

In the end it will allow:

  • Add or remove printer threads during the execution of the program through instruction sent to victoria program.
  • Change the channel name, channel receiver.
@tperale tperale added the high priority Should be fixed asap because it block the dev of new features label Feb 22, 2021
@tperale
Copy link
Collaborator Author

tperale commented Feb 22, 2021

This issue need to be solved before the implementation of Sprtch/huron#35 can start.

@tperale tperale changed the title On the fly modification of the printer On the fly modification of the running printer threads Feb 22, 2021
@tperale
Copy link
Collaborator Author

tperale commented May 31, 2021

Should the channel still exist in the end ? In the end all we need is the name of the destination printer, the channel introduces some sort of overhead that is not obvious to the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority Should be fixed asap because it block the dev of new features
Projects
None yet
Development

No branches or pull requests

1 participant