Oliver Kowalke
b0b22e16e9
Update push_coroutine.hpp
2017-12-20 06:23:22 +00:00
Oliver Kowalke
6bf49d619a
Update push_coroutine.hpp
2017-12-20 06:22:27 +00:00
Oliver Kowalke
a3eb60c432
Update pull_coroutine.hpp
2017-12-20 06:21:48 +00:00
Saliya Hamparawa
7a702c4e86
Fixing a resource leak in move assignment
...
Signed-off-by: Saliya Hamparawa <hamparawa@gmail.com>
2017-12-20 11:09:38 +05:30
Oliver Kowalke
40cbfe5c01
perfect forwarding of stack allocator
2017-09-24 09:04:20 +02:00
Oliver Kowalke
6317f864cb
rethrow exceptions thrown by pull-coroutine ctor
2017-08-08 21:34:58 +02:00
Oliver Kowalke
0ecc359300
do not pass data via continuation::resume()
2017-08-01 09:44:08 +02:00
Oliver Kowalke
9af8f7a901
Merge pull request #10 from mog422/develop
...
Fix build failure on windows
2017-07-06 10:50:06 +02:00
mog422
33371a87d9
Fix build failure on windows
...
coroutine2 is a header-only library. But, It includes auto_link.hpp.
That worked surprisingly smoothly until before boost 1.64.
But the commit 91c327bb019f3eca3d4fd2f565557f6926d4d93b causes a build failure.
2017-07-06 17:36:19 +09:00
Oliver Kowalke
5b06384117
remove build sub-direcotry - header-only lib
2017-07-05 18:32:38 +02:00
Oliver Kowalke
5737fb22ae
unwind the stack if coroutine gets terminated
...
- fixes #13064
- unwind the stack via exception (continuation is destroyed)
2017-06-13 17:40:26 +02:00
Oliver Kowalke
b6faea151a
correct CPU used for performance tests
2017-06-04 12:54:28 +02:00
Oliver Kowalke
3f6916464f
add unit-test for native APIs
2017-05-30 17:44:19 +02:00
Oliver Kowalke
697f1add1a
remove dependency (header) to boost.fiber
2017-05-30 08:32:04 +02:00
Oliver Kowalke
f12e03b80a
unit-tests: build parameters speed/release
2017-05-27 17:14:55 +02:00
Oliver Kowalke
bcb2b415ce
call/cc supports ucontext_t and WinFiber
2017-05-26 11:42:28 +02:00
Oliver Kowalke
c588717142
Merge pull request #9 from Batchyx/documentation-patch
...
doc: Fix unmatched parenthesis in intro.qbk
2017-04-22 19:16:37 +02:00
Batchyx
51ede0eb04
doc: Fix unmatched parenthesis in intro.qbk
2017-04-16 15:23:02 +00:00
Oliver Kowalke
353d716c2e
remove example using segmented stacks
...
- segemented stacks can only be used by execution_context (v1)
- boost.coroutine2 does not support execution_context (v1)
2017-04-08 11:43:26 +02:00
Oliver Kowalke
4a6a37aade
renaming of continuation functions
2017-03-05 10:36:09 +01:00
oliver Kowalke
6bfa86ef50
resume() -> continuation::operator()
2017-02-02 09:26:48 +01:00
oliver Kowalke
638d3f209c
rename transfer_data() -> get_data()
2017-02-01 09:32:05 +01:00
Oliver Kowalke
1259de92b6
fix of #4
...
boost::coroutine2<>::pull_type does not accept std::bind
2017-01-21 14:08:52 +01:00
Oliver Kowalke
caceefc8c9
callcc() -> resume()
2017-01-05 19:00:47 +01:00
Oliver Kowalke
9a166cd623
add support for callcc()
2017-01-02 13:31:23 +01:00
Oliver Kowalke
b7e1be3713
implicitly declared default constructor would not be constexpr
2016-12-20 05:17:16 +01:00
oliver Kowalke
91c327bb01
fix lib-name and linking in config.hpp
2016-12-14 08:12:24 +01:00
Oliver Kowalke
6f52f00eaf
dcumentation: support for valgrind
2016-11-24 19:28:23 +01:00
Oliver Kowalke
0fc8ca7f6c
remove example simple
2016-11-16 09:12:32 +01:00
oliver Kowalke
ea5d41d9f8
documentation: update performance numbers
2016-11-11 08:15:18 +01:00
Rene Rivera
3949cd5c01
Add, and update, documentation build targets.
2016-10-07 23:07:33 -05:00
Oliver Kowalke
a22f098d6d
pass ecv2 as universal reference in context-fn
2016-10-07 19:35:34 +02:00
Oliver Kowalke
1d68a9bd38
destructors are per default noexcept
2016-10-07 18:11:24 +02:00
Oliver Kowalke
f9dff912df
fix coroutine2 reference of pull_type and push_type
2016-10-07 18:05:15 +02:00
oliver Kowalke
c1c403290c
update note regarding to C++11 in documentation
2016-09-06 09:14:17 +02:00
Oliver Kowalke
4669e551b9
assign current context in control_block destructor
...
- current context has to be assigned to priv. member variable 'other'
- otherwise stack unwinding will jump to an invalid context
2016-08-01 17:31:03 +02:00
Oliver Kowalke
60e78c48d7
Update libraries.json
2016-07-04 10:15:21 +02:00
Oliver Kowalke
c7210733db
call resume() in ctor of pull_coroutine
2016-07-01 17:58:43 +02:00
oliver Kowalke
bde8dc0cc4
fix test/Jamfile.v2 requirements
2016-06-17 08:20:50 +02:00
oliver Kowalke
d1b7251e63
add boostdoc to doc/Jamfile
2016-06-15 08:16:38 +02:00
oliver Kowalke
0f24727718
do not enter coro-fn for push-coro's at destruction
...
- fixes #12221
2016-05-23 08:31:13 +02:00
Oliver Kowalke
b5ac9ba526
fix citation in docu
2016-03-20 20:22:18 +01:00
Oliver Kowalke
239e014d99
typo in docu
2016-03-04 18:29:18 +01:00
Oliver Kowalke
0bd69b78ef
include correct header for pooled_fixedsize_stack
2016-03-04 18:25:22 +01:00
Oliver Kowalke
2d610d95b8
import pooled_fixedsize_stack
2016-03-04 18:18:36 +01:00
Oliver Kowalke
6e5a41c2f6
update docu
2016-03-04 18:05:52 +01:00
Oliver Kowalke
6cb67bc941
fix docu for stacks
2016-02-27 20:26:51 +01:00
Oliver Kowalke
749dba0834
adapt to template version of execution_context (v2)
2016-02-09 17:08:10 +01:00
Oliver Kowalke
fdf24a0607
rename of caputed_context to execution_context (v2)
...
- execution_context (v2) is enabled per default
- execution_context (v1) is enabled for property segmented-stacks=on
2016-02-06 12:37:50 +01:00
Oliver Kowalke
671b94df94
hide data of execution_context in docu
2016-01-07 19:26:07 +01:00