]> gitweb.factorcode.org Git - factor.git/commitdiff
threads: fix slot name: status -> state
authorBjörn Lindqvist <bjourne@gmail.com>
Sat, 7 Jan 2017 13:16:10 +0000 (14:16 +0100)
committerBjörn Lindqvist <bjourne@gmail.com>
Sat, 7 Jan 2017 14:26:19 +0000 (15:26 +0100)
basis/threads/threads-docs.factor

index f6f1210e50c6c35550e854492e41504e9b82c01d..94e03064d6082541818e056b5ff672648334b36e 100644 (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 } }