Skip to content

Commit aacedfe

Browse files
committed
Merge branch 'develop'
2 parents 829083c + 518ba02 commit aacedfe

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

doc/callcc.qbk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
]
77

88
[#cc]
9-
[section:cc call/cc]
9+
[section:cc Context switching with call/cc]
1010

1111
__callcc__ (call with current continuation) is a universal control operator
1212
(well-known from the programming language Scheme) that captures the current

doc/execution_context_v1.qbk

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010

1111
[warning __econtext__ is deprecated.]
1212

13-
[note Include `execution_context.hpp` and provide flag
14-
['BOOST_EXECUTION_CONTEXT=1] in order to use __econtext__.]
13+
[note Include `execution_context.hpp` and pass define BOOST_EXECUTION_CONTEXT=1
14+
at compilers command-line in order to use __econtext__ (v1).]
1515

16-
[note This class is only enabled if property ['segmented-stacks=on] (enables
17-
segmented stacks) is specified at b2-commandline or compiler flag
18-
['BOOST_EXECUTION_CONTEXT=1] was defined.]
16+
[note Segmented stacks (['segmented-stacks=on]), e.g. on demand growing stacks,
17+
can only be used with __econtext__ (v1).]
1918

2019
Class __econtext__ encapsulates context switching and manages the associated
2120
context' stack (allocation/deallocation).

doc/execution_context_v2.qbk

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010

1111
[warning __econtext__ is deprecated.]
1212

13-
[note Include `execution_context.hpp` and provide flag
14-
['BOOST_EXECUTION_CONTEXT=2] in order to use __econtext__.]
13+
[note Include `execution_context.hpp` and pass define BOOST_EXECUTION_CONTEXT=2
14+
at compilers command-line in order to use __econtext__ (v2).]
15+
16+
[note Segmented stacks (['segmented-stacks=on]), e.g. on demand growing stacks,
17+
are not supported by __econtext__ (v2).]
1518

1619
Class __econtext__ encapsulates context switching and manages the associated
1720
context' stack (allocation/deallocation).

doc/stack.qbk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ __segmented_stack__ __boost_context__ must be built with
214214
property `segmented-stacks`, e.g. [*toolset=gcc segmented-stacks=on] at b2/bjam
215215
command line.]
216216

217+
[note Segmented stacks can only be used with __econtext__ (v1)].
218+
217219
#include <boost/context/segmented_stack.hpp>
218220

219221
template< typename traitsT >

0 commit comments

Comments
 (0)