If there's a lot of data processing, it might also make sense to put it into it's own process (or thread) altogether and control it from the GUI with some kind if interprocess messaging.
In reply to Re^2: Interrupting a loop
by cavac
in thread Interrupting a loop
by merrymonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |