Semaphores are a good idea for different scenarios. My main application is a server performing downloads and compilations on demand. The reader is just a GUI added afterwards for people who prefer coloured pictures and 2-buttons over 100 keys. Both scripts are completly independent of one each other. I did not want to alter the source of the files.
Nevertheless, it is good to have red coloured error messages.
And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
(Terry Pratchett, Small Gods)
| [reply] |