Revision 3977a4c1 lib/mcpu.py
b/lib/mcpu.py | ||
---|---|---|
134 | 134 |
# This gives a chance to LUs to make last-minute changes after acquiring |
135 | 135 |
# locks at any preceding level. |
136 | 136 |
lu.DeclareLocks(level) |
137 |
needed_locks = lu.needed_locks[level] |
|
138 |
share = lu.share_locks[level] |
|
137 | 139 |
# This is always safe to do, as we can't acquire more/less locks than |
138 | 140 |
# what was requested. |
139 | 141 |
lu.needed_locks[level] = self.context.glm.acquire(level, |
140 |
lu.needed_locks[level]) |
|
142 |
needed_locks, |
|
143 |
shared=share) |
|
141 | 144 |
try: |
142 | 145 |
result = self._LockAndExecLU(lu, level + 1) |
143 | 146 |
finally: |
Also available in: Unified diff