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 - 01 Dec 2021 19:30:51