-
Notifications
You must be signed in to change notification settings - Fork 1
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
the class should remove previous instances of itself #1
Comments
I think rather than killing previous instances (which can be hard to recognize, since they are just ruby processes), I would introduce a lock, see e.g. http://stackoverflow.com/questions/9672343/how-to-limit-concurrent-instances-of-same-ruby-script or https://github.com/cleverua/lockfile or http://johnallen.us/?p=383 |
yes, that would be great.
|
I think given an existing lock, a newly started instance should display a message and wait until the lock is released. |
that would be fine (: -Leandro IMPORT MY GPG KEY: 2013/12/29 Till Mossakowski notifications@github.com
|
this class should remove or kill previous instances of itself because if you run twice some program that uses this class and push any button the LCD tries to answer repeated times causing a flickering in the display
i have used this software without noticing this problem quite time ago because i used to print always static text and, consecuently, the display didn't flick regarding the text is always the same
but lately i'm displaying variable texts like CPU temperature and with this changing texts using several instances of the software the LCD flicks a lot
The text was updated successfully, but these errors were encountered: