LispWorks User Guide and Reference Manual > 35 The MP Package

NextPrevUpTopContentsIndex

process-property

Function
Summary

Gets and sets a general property for a process.

Package

mp

Signature

process-property indicator &optional process default => result

(setf process-property) value indicator &optional process default => result

Arguments

indicator

A Lisp object.

process

A process.

default

A Lisp object.

Values

result

A property value, or default.

Description

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.

Example
(process-property 'foo (get-current-process) 'bar) => BAR
(setf (process-property 'foo) 'foo-value)
=> FOO-VALUE (process-property 'foo) => FOO-VALUE
See also

remove-process-property
remove-from-process-property
pushnew-to-process-property


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex