3.1.1.7.1.6. thyrsis.utilities.lock module¶
-
class
thyrsis.utilities.lock.
ExclusiveLock
(name)¶ Bases :
object
Exclusive Lock class
-
thyrsis.utilities.lock.
get_exclusive_lock
(name)¶ Lock
- Paramètres
name (string) – lock name
- Renvoie
lock file path
- Type renvoyé
string
-
thyrsis.utilities.lock.
unlock_exclusive_lock
(fd)¶ Unlock
- Paramètres
fd (string) – lock file path