LispWorks User Guide and Reference Manual > 35 The MP Package

NextPrevUpTopContentsIndex

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 process-alive-p function returns t if process is alive, that is, if mp:process-kill has not been called on the process.

Example
(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 - 22 Dec 2009

NextPrevUpTopContentsIndex