Revision e310b019 lib/locking.py
b/lib/locking.py | ||
---|---|---|
298 | 298 |
self.__lock.release() |
299 | 299 |
|
300 | 300 |
|
301 |
# Whenever we want to acquire a full LockSet we pass None as the value to acquire. |
|
302 |
# Hide this behing this nicely named constant. |
|
303 |
ALL_SET = None |
|
304 |
|
|
305 |
|
|
301 | 306 |
class LockSet: |
302 | 307 |
"""Implements a set of locks. |
303 | 308 |
|
Also available in: Unified diff