Returns the state of a process.
mp
process-whostate process => reason
| process⇩ |
A process. |
| reason⇩ |
A string. |
The function process-whostate returns a string describing the state of the process.
Depending on the state of process, reason can be:
"Dead""Stopped""Sleeping""Running""Running (preempted)"
reason can also be the wait-reason of the process, as passed to wait-processing-events, process-wait, mailbox-read and so on.
reason can also be a string containing the run-reasons, as set by (setf process-run-reasons).
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:36