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

process-alive-p Function

Summary

Determines if a process is alive.

Package

mp

Signature

process-alive-p process => bool

Arguments
process
A process.
Values
bool
A boolean.
Description

The function process-alive-p returns t if process is alive, that is, if process-terminate has not been called on the process.

Examples
(mp:process-alive-p mp:*current-process*)
=> T
(let ((process (mp:process-run-function
                "test" nil 'identity nil)))
  (sleep 2)
  (mp:process-alive-p process))
=> NIL

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