module documentation
Module implementing the Ganeti locking code.
| Class | |
Group-only non-polling condition with counters. |
| Class | |
Implements a shared lock. |
| Class | |
Condition which can only be notified once. |
| Function | ssynchronized |
Shared Synchronization decorator. |
| Constant | ALL |
Undocumented |
| Constant | BGL |
Undocumented |
| Constant | LEVEL |
Undocumented |
| Constant | LEVEL |
Undocumented |
| Constant | LEVEL |
Undocumented |
| Constant | LEVEL |
Undocumented |
| Constant | LEVEL |
Undocumented |
| Constant | LEVEL |
Undocumented |
| Constant | LEVEL |
Undocumented |
| Constant | LEVELS |
Undocumented |
| Constant | LEVELS |
Undocumented |
| Constant | LOCKSET |
Undocumented |
| Class | _ |
Base class containing common code for conditions. |
| Class | _ |
No class docstring; 0/1 instance variable, 0/1 class variable, 1/1 method documented |
| Class | _ |
Helper class for SingleNotifyPipeCondition |
| Exception | _ |
Internal exception to abort an acquire on a timeout. |
| Function | _ |
Returns the number zero. |
| Constant | _DEFAULT |
Undocumented |
| Constant | _DELETED |
Undocumented |
| Constant | _EXCLUSIVE |
Undocumented |
| Constant | _LOCK |
Undocumented |
| Constant | _SHARED |
Undocumented |
Shared Synchronization decorator.
Calls the function holding the given lock, either in exclusive or shared mode. It requires the passed lock to be a SharedLock (or support its semantics).
| Parameters | |
| mylock:lockable object or string | lock to acquire or class member name of the lock to acquire |
| shared | Undocumented |
LEVEL_NAMES =
¶
Undocumented
| Value |
|
LEVELS =
¶
Undocumented
| Value |
|
LEVELS_MOD =
¶
Undocumented
| Value |
|