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

NextPrevUpTopContentsIndex

process-private-property

Function
Summary

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

Package

mp

Signature

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

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

Arguments

indicator

A Lisp object.

default

A Lisp object.

Values

result

value or default

Description

The function 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.

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 - 13 Feb 2015

NextPrevUpTopContentsIndex