LispWorks User Guide and Reference Manual > 15 Multiprocessing > 15.2 The process programming interface


15.2.4 Interrupting a process

To interrupt a running process, use process-interrupt or process-kill. To break a process and enter the debugger, use process-break.

To suspend a process until a predicate is t , use process-wait, process-wait-with-timeout, process-wait-local, process-wait-local-with-timeout, process-wait-local-with-timeout-and-periodic-checks or process-wait-local-with-timeout-and-periodic-checks. The function process-wait-function returns a function that specifies a reason for the process waiting.

Note: The process-wait* functions need to be called from the process you want to suspend.

LispWorks User Guide and Reference Manual - 22 Dec 2009