Hi, while maing a project I've encountered a situation wherein i want to calculate something (lots of calculations) until it is A: done, or B: the user presses a button.
In case B, the calculation need to start all over again with new parameters
(info: calculating the solvability of a puzzle like this: http://www.quirkle.com/puzzle/)
So everytime a user presses the button I create a new QThread that wil calculate some things, but what I want, is that when a user presses the button, all active threads stops en are deleted, so there is always only one thread busy...
Is it possible to properly disable en delete a qthread??
thans for considering.
Bookmarks