Suspend Process
Article
A C console utility that attaches to a process by PID with DebugActiveProcess, leaving it suspended until the debugger detaches.
A C console utility that attaches to a process by PID with DebugActiveProcess, leaving it suspended until the debugger detaches.
A minimal C++ program that converts the main thread to a fiber, creates a second fiber, and switches between them.
A console snippet that pins a process and thread to a specific CPU using affinity masks and ideal-processor calls.
A console snippet that spawns a second thread with CreateThread and lets both threads print in parallel.
A pair of C programs demonstrating cross-process synchronization with a named event — one waits on it, the other finds and signals it.