All Manuals > LispWorks® User Guide and Reference Manual > 42 The MP Package

process-private-property Accessor

Summary

Gets or sets the value of a private property of the current process.

Package

mp

Signature

process-private-property indicator &optional default => value

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

Arguments
indicator
A Lisp object.
default
A Lisp object.
value
A Lisp object.
Values
value
A Lisp object.
Description

The accessor process-private-property gets or sets the value that is associated with indicator in the private properties of the current process (that is, the result of calling get-current-process).

If indicator is not associated with a value in the private properties, process-private-property returns default.

(setf process-private-property) overwrites any existing value for indicator to value and default is ignored.

The default value of default is nil.

Notes
  1. Private properties can be read from other processes using get-process-private-property, but cannot be set by other processes.
  2. Process private property access is faster than than process property access in SMP LispWorks, because the implementation of the latter must deal with parallel setting.
See also

remove-process-private-property
pushnew-to-process-private-property
remove-from-process-private-property
get-process-private-property


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:51