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

NextPrevUpTopContentsIndex

symeval-in-process

Function
Summary

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

Package

mp

Signature

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

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

Arguments

symbol

A symbol

process

A process

Values

value

A Lisp object

flag

One of t, nil or the keyword :unbound

Description

The function 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 - 20 Sep 2017

NextPrevUpTopContentsIndex