Doc fixes

release
Slava Pestov 2007-11-05 11:11:48 -05:00
parent 599f1c6087
commit 7751d49ffe
2 changed files with 5 additions and 3 deletions

View File

@ -6,6 +6,8 @@ ARTICLE: "dlists" "Doubly-linked lists"
$nl
"While nodes can be modified directly, the fundamental protocol support by doubly-linked lists is that of a double-ended queue with a few additional operations. Elements can be added or removed at both ends of the dlist in constant time."
$nl
"When using a dlist as a simple queue, the convention is to queue elements with " { $link push-front } " and dequeue them with " { $link pop-back } "."
$nl
"Dlists form a class:"
{ $subsection dlist }
{ $subsection dlist? }

View File

@ -1,5 +1,5 @@
USING: help.markup help.syntax kernel kernel.private io
threads.private continuations ;
threads.private continuations dlists ;
IN: threads
ARTICLE: "threads" "Threads"
@ -20,8 +20,8 @@ $nl
ABOUT: "threads"
HELP: run-queue
{ $values { "queue" queue } }
{ $description "Outputs the runnable thread queue." } ;
{ $values { "queue" dlist } }
{ $description "Outputs the runnable thread queue. By convention, continuations are queued with " { $link push-front } " and dequeued with " { $link pop-back } "." } ;
HELP: schedule-thread
{ $values { "continuation" "a continuation reified by " { $link callcc0 } } }