Jan-19-2017, 06:35 PM
I'm no expert on threading, but I'm fairly certain that at least one problem is that you need to join on the queue after starting the threads.
Another, more minor issue that probably isn't causing issues, is that f.close() should be inside your while-loop.
I don't have a chance at the moment, but I'll play with this code when I get a chance.
Another, more minor issue that probably isn't causing issues, is that f.close() should be inside your while-loop.
I don't have a chance at the moment, but I'll play with this code when I get a chance.