add a simple printLock
This commit is contained in:
parent
32d8a78fc7
commit
8e042930f2
|
@ -1989,7 +1989,9 @@ class sendDataThread(QThread):
|
||||||
QThread.__init__(self, parent)
|
QThread.__init__(self, parent)
|
||||||
self.mailbox = Queue.Queue()
|
self.mailbox = Queue.Queue()
|
||||||
sendDataQueues.append(self.mailbox)
|
sendDataQueues.append(self.mailbox)
|
||||||
print 'The length of sendDataQueues is now:', len(sendDataQueues)
|
printLock.acquire()
|
||||||
|
print 'The length of sendDataQueues at sendDataThread init is:', len(sendDataQueues)
|
||||||
|
printLock.release()
|
||||||
self.data = ''
|
self.data = ''
|
||||||
|
|
||||||
def setup(self,sock,HOST,PORT,streamNumber,objectsOfWhichThisRemoteNodeIsAlreadyAware):
|
def setup(self,sock,HOST,PORT,streamNumber,objectsOfWhichThisRemoteNodeIsAlreadyAware):
|
||||||
|
|
Reference in New Issue
Block a user