]> gitweb.factorcode.org Git - factor.git/blob - basis/tools/threads/threads-docs.factor
Create basis vocab root
[factor.git] / basis / tools / threads / threads-docs.factor
1 IN: tools.threads
2 USING: help.markup help.syntax threads ;
3
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 } ;
12
13 ARTICLE: "tools.threads" "Listing threads"
14 "Printing a list of running threads:"
15 { $subsection threads. } ;
16
17 ABOUT: "tools.threads"