i would like to have a pair of cli scripts in Python3, where one of the scripts will be run given a name and it will wait for a semaphore of that name. a 2nd script, if given the same name, will raise that semaphore. some more scripts can be useful: 3: a script to lower the semaphore. 4: a script to show if anything is waiting on the named semaphore, or better yet, how many waiters there are, or even better, list the waiters with process id, time waiting, user name. names should be distinct between users, but maybe it can allow root to raise or lower flags owner by a specified user. can this we done in Python without running a server or daemon process?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.