I want to have a cli scripted pair in Python3, where one script will be run for a name and it will wait for a semaphore of that name. A second scenario, if one has the same name, will increase the semaphore. Some scripts may be useful: 3: a script to reduce the semaphore. 4: a script to show if there is anything that is waiting on the named semaphore, or better yet, how many waiters there are, or even better, list the waiters with the process id, waiting time, username. The name should be distinguished between users, but maybe it can allow the root to raise or lower the owner flag of a specified user. Can we do this in Python without running the server or daemon process?
talk about semaphores
talk about semaphores
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
semaphores | Skaperen | 1 | 2,846 |
Jan-22-2018, 07:28 AM Last Post: DeaD_EyE |
|
How to talk with Real Time Clock hardware? | jackbk | 12 | 11,296 |
Feb-15-2017, 05:53 AM Last Post: jackbk |
Users browsing this thread: 2 Guest(s)