Clarify docs
parent
f8c99c864b
commit
3696ce8168
|
@ -9,6 +9,7 @@ $nl
|
||||||
{ $subsection in-thread }
|
{ $subsection in-thread }
|
||||||
{ $subsection yield }
|
{ $subsection yield }
|
||||||
{ $subsection sleep }
|
{ $subsection sleep }
|
||||||
|
"Threads stop either when the quotation given to " { $link in-thread } " returns, or when the following word is called:"
|
||||||
{ $subsection stop }
|
{ $subsection stop }
|
||||||
"Continuations can be added to the run queue directly:"
|
"Continuations can be added to the run queue directly:"
|
||||||
{ $subsection schedule-thread }
|
{ $subsection schedule-thread }
|
||||||
|
@ -21,7 +22,8 @@ ABOUT: "threads"
|
||||||
|
|
||||||
HELP: run-queue
|
HELP: run-queue
|
||||||
{ $values { "queue" dlist } }
|
{ $values { "queue" dlist } }
|
||||||
{ $description "Outputs the runnable thread queue. By convention, continuations are queued with " { $link push-front }
" and dequeued with " { $link pop-back } "." } ;
|
{ $description "Outputs the runnable thread queue. By convention, continuations are queued with " { $link push-front }
|
||||||
|
" and dequeued with " { $link pop-back } "." } ;
|
||||||
|
|
||||||
HELP: schedule-thread
|
HELP: schedule-thread
|
||||||
{ $values { "continuation" "a continuation reified by " { $link callcc0 } } }
|
{ $values { "continuation" "a continuation reified by " { $link callcc0 } } }
|
||||||
|
|
Loading…
Reference in New Issue