Hello, i am looking for different ways to pause and resume programmatically a particular process via his process ID under Windows XP.
http://www.codeproject.com/KB/threads/pausep.aspx does it with SuspendThread / ResumeThread but warns about multithreaded programs and deadlocks problem.
PsSuspend looks ok : http://technet.microsoft.com/en-us/sysinternals/bb897540.aspx I wonder if it does anything special about deadlocks or use another method ?
Prefered languages : C++ / Python