![]() | ![]() | ![]() | thread-whostate | ![]() |
| thread
| [Function] |
Purpose
Return a string that describes the current state of a
thread.
Setf syntax
|
thread) whostate)
|
Package :portable-threads
Module :portable-threads
Arguments and values
thread | A thread | |
whostate | A string or nil
|
Returns
The whostate string of the thread or nil
.
Errors
Threads (multiprocessing) is not supported on the
Common Lisp implementation.
See also
spawn-form
spawn-thread
with-lock-held
without-lock-held
Example
> (thread-whostate thread) "Running" >
Note
Although the whostate value can provide helpful information
when debugging, specific
Only Allegro CL, Clozure
CL, and Digitool's Macintosh
Common Lisp support user-settable whostates;
The GBBopen Project
![]() | ![]() | ![]() | thread-whostate | ![]() |