[PyQt] Deleting QRunnables in QThreadPool

Scott Ballard scott at scottballard.net
Wed Jul 21 20:16:46 BST 2010


Just wondering if anyone knows how to delete QRunnables that have been
added to a QThreadPool.

example: I've added 5000+ QRunnable objects to a QThreadPool and I now
want to cancel all of them.

The only was seems to be to stop the entire script which kind of defeats
the purpose.

Any thought would be appreciated.
Thanks!
-Scott



More information about the PyQt mailing list