MAX_NUM_ITEMS_TO_PROCESS = 10 # Set this to a value that stops update() from taking too long...
num_items_to_process = MAX_NUM_ITEMS_TO_PROCESS
Statistics: Posted by Alan — Mon Dec 22, 2014 8:20 pm
qsize()
Return the approximate size of the queue. Because of multithreading/multiprocessing semantics, this number is not reliable.
Note that this may raise NotImplementedError on Unix platforms like Mac OS X where sem_getvalue() is not implemented.
Statistics: Posted by SimonBirrell — Fri Dec 19, 2014 10:30 am