threads: fix slot name: status -> state

char-rename
Björn Lindqvist 2017-01-07 14:16:10 +01:00
parent 7874f5a547
commit 28801e8d5f
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ HELP: thread
" - whether the thread is runnable. Initially it is, " { $link f } "."
}
{
{ $snippet "status" }
{ $snippet "state" }
" - a " { $link string } " indicating what the thread is waiting for, or " { $link f } ". This slot is intended to be used for debugging purposes."
}
{
@ -167,7 +167,7 @@ HELP: suspend
{ $values { "state" string } { "obj" object } }
{ $description "Suspends the current thread. Control yields to the next runnable thread and the current thread does not execute again until it is resumed, and so the caller of this word must arrange for another thread to later resume the suspended thread with a call to " { $link resume } " or " { $link resume-with } "."
$nl
"The status string is for debugging purposes; see " { $link "tools.threads" } "." } ;
"The state string is for debugging purposes; see " { $link "tools.threads" } "." } ;
HELP: spawn
{ $values { "quot" quotation } { "name" string } { "thread" thread } }