Doc fixes
parent
599f1c6087
commit
7751d49ffe
|
@ -6,6 +6,8 @@ ARTICLE: "dlists" "Doubly-linked lists"
|
||||||
$nl
|
$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."
|
"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
|
$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:"
|
"Dlists form a class:"
|
||||||
{ $subsection dlist }
|
{ $subsection dlist }
|
||||||
{ $subsection dlist? }
|
{ $subsection dlist? }
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
USING: help.markup help.syntax kernel kernel.private io
|
USING: help.markup help.syntax kernel kernel.private io
|
||||||
threads.private continuations ;
|
threads.private continuations dlists ;
|
||||||
IN: threads
|
IN: threads
|
||||||
|
|
||||||
ARTICLE: "threads" "Threads"
|
ARTICLE: "threads" "Threads"
|
||||||
|
@ -20,8 +20,8 @@ $nl
|
||||||
ABOUT: "threads"
|
ABOUT: "threads"
|
||||||
|
|
||||||
HELP: run-queue
|
HELP: run-queue
|
||||||
{ $values { "queue" queue } }
|
{ $values { "queue" dlist } }
|
||||||
{ $description "Outputs the runnable thread queue." } ;
|
{ $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