DebugClients/Python/ThreadExtension.py

changeset 6891
93f82da09f22
parent 6645
ad476851d7e0
child 6923
d062df8f1d9f
equal deleted inserted replaced
6890:26c1042f2eec 6891:93f82da09f22
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 """

eric ide

mercurial