Re: Turning the printer on and off automatically
Rainer Dorsch writes:
I am wondering though if your solution has a race condition:
You're absolutely right, it does.
In this case I prefer to skip the complexity associated with trying to mitigate the tiny race condition.
Some other computer could also try to use the printer, which wouldn't even make the printer turn on - so this solution isn't comprehensive, but for my use it is sufficient.
Thanks for your comment, I'm happy my post was useful!
Add comment
To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Twitter, Facebook, Google or even Microsoft GitHub.
I have chosen to use a more old school method of spam prevention.
To post a comment here, you need to:
- Configure a newsreaderยน to connect to the server
- Open the newsgroup called
ยน Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).koldfront.dk
on port1119
using nntps (nntp over TLS).lantern.koldfront
and post a follow up to the article.Or, you can fill in this form: