All Manuals > LispWorks® User Guide and Reference Manual > 42 The MP Package

process-stop Function

Summary

Stops a process.

Package

mp

Signature

process-stop process

Arguments
process
A mp:process object.
Description

The function process-stop stops the process process.

process-stop causes process to stop until some other process explicitly wakes it up. If it is called on the current process, the current process stops during the call, and returns from process-stop after the process gets woken up.

In SMP LispWorks, if process is not the current process, process-stop returns immediately and the execution of process stops at some point, possibly after process-stop returned. In non-SMP LispWorks if process is not the current process, process stops before process-stop returns.

You can wake up a stopped process (that is, make it runnable) by calling process-terminate, process-unstop or process-continue.

process-interrupt does not wake up a stopped process.

There is a discussion of a typical use of process-stop in the section 19.11.3 Stopping and unstopping processes.

process-stop does not return any useful value.

See also

process-arrest-reasons
process-stopped-p
process-unstop


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:51