thread-namePortable Threadsthread-yieldthread-whostateGoTo Top

thread-whostate   thread => whostate[Function]

Return a string that describes the current state of a thread.

Setf syntax

(setf (thread-whostate   thread) whostate) => whostate

Package   :portable-threads

Module   :portable-threads

Arguments and values

thread     A thread
whostate     A string or nil

The whostate string of the thread or nil.

Threads (multiprocessing) is not supported on the Common Lisp implementation.

See also


  > (thread-whostate thread)

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-namePortable Threadsthread-yieldthread-whostateGoTo Top