Gets and sets a general property for a process.
Signatureprocess-property indicator &optional process default => result
(setf process-property) value indicator &optional process default => result
ArgumentsA Lisp object.
A process.
A Lisp object.
ValuesA property value, or default.
DescriptionThe function process-property
gets the value that is associated with indicator for the process process, and (setf process-property)
sets this value.
If process is not supplied or is nil
, the current process (that is, the result of calling get-current-process) is used.
In the typical case when only the current process sets the property (even if other processes read it), private properties can be used, and are much faster in SMP LispWorks, because they do not need to deal with parallel setting. See process-private-property.
Example (process-property 'foo (get-current-process) 'bar)
=> BAR
(setf (process-property 'foo) 'foo-value)
=> FOO-VALUE
(process-property 'foo)
=> FOO-VALUE
LispWorks User Guide and Reference Manual - 20 Sep 2017
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4