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

NextPrevUpTopContentsIndex

processes-count

Function
Summary

Returns the number of Lisp processes that are currently alive.

Package

mp

Signature

processes-count => count

Values

count

A non-negative integer.

Description

The function processes-count returns the number of Lisp processes that are currently alive.

The count includes all processes that are alive, that is started executing and did not die. It does not include any thread that was started by foreign code, unless it calls into Lisp, in which case Lisp automatically generates a matching Lisp process which is included in the count.

In general processes can start and die so the real count may change by the time the function has returned. The only guarantee is that the count was accurate at some point between the time processes-count was called and the time it returns.

See also

list-all-processes


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex