![]() | ![]() | ![]() | thread-name | ![]() |
| thread
| [Function] |
Purpose
Return the name of a thread.
Setf syntax
|
thread) name-string)
|
Package :portable-threads
Module :portable-threads
Arguments and values
thread | A thread | |
name-string | A string |
Returns
The name of thread.
Errors
Threads (multiprocessing) is not supported on the
Common Lisp implementation.
See also
spawn-form
spawn-thread
Examples
> (thread-name thread) "Initial" > (setf (thread-name thread) "Version 2") "Version 2" > (thread-name thread) "Version 2" >
Note
Digitool's Macintosh Common Lisp
does not support changing the thread name via
The GBBopen Project
![]() | ![]() | ![]() | thread-name | ![]() |