![]() | ![]() | ![]() | symbol-value-in-thread | ![]() |
| symbol thread
| [Function] |
Purpose
Return the value of symbol in a thread.
Package :portable-threads
Module :portable-threads
Arguments and values
symbol | A symbol | |
thread | A thread | |
object | An object | |
boundp | A generalized boolean |
Returns
Two values:
t
if symbol is specially or globally bound in
nil
Description
The global symbol value is returned as the first value if no
thread-local value is bound.
See also
spawn-form
spawn-thread
Examples
> (symbol-value-in-thread '*x* thread) 33 t > (symbol-value-in-thread 'pi thread) 3.141592653589793d0 t > (symbol-value-in-thread '*unbound* thread) nil nil >
Note
On Common Lisp implementations without threads, this function obtains
the global symbol value.
The GBBopen Project
![]() | ![]() | ![]() | symbol-value-in-thread | ![]() |