process-property indicator &optional process default => result
(setf process-property) value indicator &optional process default => result
The 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.
(process-property 'foo (get-current-process) 'bar)
=> BAR
(setf (process-property 'foo) 'foo-value)
=> FOO-VALUE
(process-property 'foo)
=> FOO-VALUE
process-private-property
remove-process-property
remove-from-process-property
pushnew-to-process-property
LispWorks User Guide and Reference Manual - 13 Feb 2015