threads: cleanup docs for $slots.

master
John Benediktsson 2020-05-27 09:47:29 -07:00
parent 0fb44180c0
commit 10e19a3944
1 changed files with 15 additions and 15 deletions

View File

@ -72,34 +72,34 @@ ABOUT: "threads"
HELP: thread HELP: thread
{ $class-description "A thread. The slots are as follows:" { $class-description "A thread. The slots are as follows:"
{ $list { $slots
{ {
{ $snippet "id" } "id"
" - a unique identifier assigned to each thread." "a unique identifier assigned to each thread."
} }
{ {
{ $snippet "exit-handler" } "exit-handler"
" - a " { $link quotation } " run when the thread is being stopped." { "a " { $link quotation } " run when the thread is being stopped." }
} }
{ {
{ $snippet "name" } "name"
" - the name passed to " { $link spawn } "." { "the name passed to " { $link spawn } "." }
} }
{ {
{ $snippet "quot" } "quot"
" - the initial quotation passed to " { $link spawn } "." { "the initial quotation passed to " { $link spawn } "." }
} }
{ {
{ $snippet "runnable" } "runnable"
" - whether the thread is runnable. Initially it is, " { $link f } "." { "whether the thread is runnable. Initially it is, " { $link f } "." }
} }
{ {
{ $snippet "state" } "state"
" - a " { $link string } " indicating what the thread is waiting for, or " { $link f } ". This slot is intended to be used for debugging purposes." { "a " { $link string } " indicating what the thread is waiting for, or " { $link f } ". This slot is intended to be used for debugging purposes." }
} }
{ {
{ $snippet "context" } "context"
" - a " { $link box } " holding an alien pointer to the threads " { $link context } " object." { "a " { $link box } " holding an alien pointer to the threads " { $link context } " object." }
} }
} }
} ; } ;