Skip to content

Commit

Permalink
Added install images as dependency to html_.
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed Dec 20, 2024
1 parent cd2ea28 commit 049515c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
17 changes: 4 additions & 13 deletions doc/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,17 @@ 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 ;

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 ;
Expand Down
2 changes: 1 addition & 1 deletion doc/background/stackless.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 049515c

Please sign in to comment.