Oct 04, 2011 · Re: QThreadPool - how to remove all threads. Because someone hit the "STOP" button and that shoud mean: please don't go ahead running the 100 QRunnable object that are waiting in the pool. Take this example. I have a list with 100 urls. I iterate the list and with with urllib2 I read data for every single url. setMaxThreadCount=4 so there are 4 ...
现在的毕业课题就是构建一个数据处理软件。属于 cpu 密集型。现在的版本是 python+pyqt 构建的。因为是 GIL 的关系,不能利用多线程,而且我在 UI 线程中没有办法创建多进程就很蛋疼。现在我的需求是能够并发(多线程貌似行不通),多进程在 UI 中无法调用。