in reply to Re: Do I need threading for my GUI?
in thread Do I need threading for my GUI?

You are going to show us how you do this, right? Please? A small sample program? Dave

Replies are listed 'Best First'.
Re^3: Do I need threading for my GUI?
by BrowserUk (Patriarch) on Feb 19, 2008 at 19:13 UTC


    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.

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.