def suspend(self):
<EOL>if not self.is_running():<EOL><INDENT>name = self._platform_impl._process_name<EOL>raise NoSuchProcess(self.pid, name)<EOL><DEDENT>if hasattr(self._platform_impl, "<STR_LIT>"):<EOL><INDENT>self._platform_impl.suspend_process()<EOL><DEDENT>else:<EOL><INDENT>self.send_signal(signal.SIGSTOP)<EOL><DEDENT>
Suspend process execution.