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

symeval-in-process Accessor

Summary

Reads the value of symbol which is dynamically bound in a given process.

Package

mp

Signatures

symeval-in-process symbol process => value, flag

setf (symeval-in-process symbol process) value => value

Arguments
symbol
A symbol.
process
A process.
value
A Lisp object.
Values
value
A Lisp object.
flag
One of t, nil or the keyword :unbound.
Description

The accessor symeval-in-process reads the value of the symbol symbol in the process process if it is bound dynamically. The global value of symbol is never returned.

If symbol is not bound in process, then value and flag are both nil. If symbol is bound in process but makunbound has been called within the dynamic scope of the binding, value is nil and flag is :unbound. Otherwise, value is the value of symbol and flag is t.

In addition, the form:

(setf (symeval-in-process symbol process) value)

sets the value of symbol to value in process. It is an error if process has no binding for symbol. This setf form returns value as specified by Common Lisp.

Notes

symeval-in-process is mostly intended for debugging. It is OK to call it on a thread known to be idle, or in process-wait or process-stop, but it should not be called while the thread is running.


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