Peter Surda
266d8eba1f
- don't do subprocess in SafeHTMLParser, it doesn't work in frozen mode and an attempt to fix it would take too much refactoring and I'm not even sure it would work - instead, make it handle broken unicode correctly - I think the previous reports of freezes were caused by trying to interpret data as unicode, causing a crash - it does about 1MB/s on my machine, so a timeout is not a big problem
12 lines
512 B
Python
12 lines
512 B
Python
import Queue
|
|
from multiprocessing import Queue as mpQueue, Lock as mpLock
|
|
from class_objectProcessorQueue import ObjectProcessorQueue
|
|
|
|
workerQueue = Queue.Queue()
|
|
UISignalQueue = Queue.Queue()
|
|
addressGeneratorQueue = Queue.Queue()
|
|
# receiveDataThreads dump objects they hear on the network into this queue to be processed.
|
|
objectProcessorQueue = ObjectProcessorQueue()
|
|
apiAddressGeneratorReturnQueue = Queue.Queue(
|
|
) # The address generator thread uses this queue to get information back to the API thread.
|