Returns a process corresponding to a supplied designator.
mp
get-process process-designator => process
| process-designator⇩ |
A mp:process, a string, a stack-group, a function, a symbol or a fixnum. |
| process |
A mp:process. |
The function get-process returns a process according to the supplied process-designator, which is interpreted as follows:
mp:process |
Return it. |
| A string |
Find the first process (highest priority) with matching name. Process names are compared by string=. |
| A stack-group |
Return the process of the stack-group. |
| A function |
Return the first process that has process-designator as its function (that is, the third argument of process-run-function). |
| A symbol |
First search for a process using the symbol name as a string, and (if that fails) then search using the symbol as a function. |
| A fixnum |
result is nil if multiprocessing is off.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:51