Windows suspend process
Is there anything in windows that is equivalent to CTRL-Z in unix? I want to suspend an arbitrary process and wake it up later - all user controlled.
Built in? No. Available via some obscure 3rd party application? Maybe.
Brad Wilson (dotnetguy.techieswithcats.com)
The APIs exist (OpenProcess, SuspendThread, etc). It may require a simple debugger to attach and freeze the process in question.
Albert D. Kallal
Never use SuspendThread on a thread you don't control -- the thread might just be calling a heap allocation routine or something else that holds a global lock, and then you're doomed...
The sysinternals also offers the free commandline tool pssuspend: http://www.sysinternals.com/ntw2k/freeware/pssuspend.shtml
Thanks everyone! The sysinternals tools are fantastic.
Fog Creek Home