http://www.perlmonks.org?node_id=1020881


in reply to Pause and Resume Exe

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^2: Pause and Resume Exe
by BrowserUk (Patriarch) on Feb 27, 2013 at 13:17 UTC
    The process will need to be processing Windows messages timely, in addition to doing what it’s regularly doing, which pretty much calls for a secondary thread to do the work while the primary thread listens for mouse-moves and keystrokes.

    Yet more crap!

    Any windows process can be suspended and resumed. And when it is resumed, it will carry on from where it left of with no knowledge it was ever suspended.

    If it is a gui process, its screen will not respond to input while it is suspended. But a) there is no suggestion in the OP that this is a gui program; b) so what if it is.

    By way of demonstration, I suspended my browser after typing that last paragraph and the resumed it a couple of minutes later to type this one. And ``""'**NOTHING BAD HAPPENED!**'""''


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    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.
Re^2: Pause and Resume Exe
by Anonymous Monk on Feb 27, 2013 at 16:05 UTC

    Seems to me you need to state your assumptions and conditions on those problems.

    However, your first sentence-example is just wrong. The program will pick up exactly where it left off, not skip ahead after the resume. It is just like having a very slow CPU for a while... as long as there isn't a wallclock dependency, it will be fine.