Revision 4c03b2b5
b/lib/locking.py | ||
---|---|---|
1449 | 1449 |
monitor=self._monitor), |
1450 | 1450 |
} |
1451 | 1451 |
|
1452 |
def AddToLockMonitor(self, provider): |
|
1453 |
"""Registers a new lock with the monitor. |
|
1454 |
|
|
1455 |
See L{LockMonitor.RegisterLock}. |
|
1456 |
|
|
1457 |
""" |
|
1458 |
return self._monitor.RegisterLock(provider) |
|
1459 |
|
|
1452 | 1460 |
def QueryLocks(self, fields): |
1453 | 1461 |
"""Queries information from all locks. |
1454 | 1462 |
|
Also available in: Unified diff