Sure:
Existing script:
... use threads; ## Additional line 1 ... async{ ## Additional line 2 ## existing, long running, cpu intensive code here }; ## Additional line 3 ...
Now the gui will be responsive, whilst the long running code runs full speed without changes.
In reply to Re^3: Do I need threading for my GUI?
by BrowserUk
in thread Do I need threading for my GUI?
by tamaguchi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |