A debug application might want to stop a program at a breakpoint, using the DosPtrace STOP command. This command stops a thread only when the thread is scheduled. WinWakeThread forces a thread to be rescheduled, even though it is waiting for input.