![]() | ![]() | ![]() | thread-whostate | ![]() |
|
| thread => whostate | [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-thread
Example
> (thread-whostate thread) "Running" >
Note
Although the whostate value can provide helpful
information when debugging, specific whostate values and their
meanings vary among Common Lisp implementations and should not be used
programmatically.
Only Allegro CL, Clozure CL, and Digitool's Macintosh Common Lisp support user-settable whostates; (setf whostate) is a no-op on other Common Lisp implementations.
The GBBopen Project
![]() | ![]() | ![]() | thread-whostate | ![]() |