fix some db docs
[factor/jcg.git] / basis / tools / threads / threads-docs.factor
blobc60255b37744252f778a0f8082c4755dad2f4622
1 IN: tools.threads
2 USING: help.markup help.syntax threads ;
4 HELP: threads.
5 { $description "Prints a list of running threads and their state. The “Waiting on” column displays one of the following:"
6     { $list
7         "“running” if the thread is the current thread"
8         "“yield” if the thread is waiting to run"
9         { "the string given to " { $link suspend } " if the thread is suspended" }
10     }
11 } ;
13 ARTICLE: "tools.threads" "Listing threads"
14 "Printing a list of running threads:"
15 { $subsection threads. } ;
17 ABOUT: "tools.threads"