Determines if a process is alive.
mp
process-alive-p process => bool
process⇩ |
A process. |
bool |
A boolean. |
The function process-alive-p
returns t
if process is alive, that is, if process-terminate has not been called on the process.
(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