Is there any easy way to have a system-wide mutex in Python on Linux? By \"system-wide\", I mean the mutex will be used by a group of Python processes; this is in c
Just to add a one to the list, there's the posix_ipc library, which has a Semaphore
class.
A Semaphore with a count of 1 can be used as a Mutex.
To complete the threading trio, the SystemEvent library makes use of posix_ipc
and provides an Event as well.
I'd also note that this doesn't poll your hard drive either!