6827:14680839ad7a | 6923:d062df8f1d9f |
---|---|
129 @type bool | 129 @type bool |
130 @return flag indicating successful locking | 130 @return flag indicating successful locking |
131 @rtype bool | 131 @rtype bool |
132 """ | 132 """ |
133 if blocking: | 133 if blocking: |
134 self.clientLock.acquire() | 134 return self.clientLock.acquire() |
135 else: | 135 else: |
136 return self.clientLock.acquire(blocking) | 136 return self.clientLock.acquire(blocking) |
137 | 137 |
138 def unlockClient(self): | 138 def unlockClient(self): |
139 """ | 139 """ |