mirror of
https://github.com/boostorg/cobalt.git
synced 2026-01-19 04:02:16 +00:00
Added install images as dependency to html_.
This commit is contained in:
17
doc/Jamfile
17
doc/Jamfile
@@ -6,7 +6,8 @@ import asciidoctor ;
|
||||
|
||||
html index.html : index.adoc ;
|
||||
|
||||
install html_ : index.html : <location>html ;
|
||||
install images : $(images) : <location>html/images ;
|
||||
install html_ : index.html : <location>html : <dependency>images ;
|
||||
|
||||
pdf cobalt.pdf : index.adoc ;
|
||||
explicit cobalt.pdf ;
|
||||
@@ -14,18 +15,8 @@ explicit cobalt.pdf ;
|
||||
install pdf_ : cobalt.pdf : <location>pdf ;
|
||||
explicit pdf_ ;
|
||||
|
||||
install images
|
||||
:
|
||||
images/awaitables.png
|
||||
images/generators1.png
|
||||
images/generators2.png
|
||||
images/lazy_eager1.png
|
||||
images/lazy_eager2.png
|
||||
images/stackless1.png
|
||||
images/stackless2.png
|
||||
:
|
||||
<location>html/images
|
||||
;
|
||||
|
||||
|
||||
|
||||
alias boostdoc ;
|
||||
explicit boostdoc ;
|
||||
|
||||
@@ -45,7 +45,7 @@ ifndef::generate-diagram[]
|
||||
image::stackless1.png[]
|
||||
endif::[]
|
||||
|
||||
Coroutines can be implemented a stackful, which means that it allocates a fixes chunk of memory and stacks function frames similar to a thread.
|
||||
Coroutines can be implemented as stackful, which means that it allocates a fixes chunk of memory and stacks function frames similar to a thread.
|
||||
C++20 coroutines are stackless, i.e. they only allocate their own frame and use the callers stack on resumption. Using our previous example:
|
||||
|
||||
[source,cpp]
|
||||
|
||||
Reference in New Issue
Block a user