90 Commits

Author SHA1 Message Date
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
Oliver Kowalke
c1010a3cfb update performance values in docu 2016-01-06 20:32:24 +01:00
Oliver Kowalke
a4de31c41a remove write overhead to std::out 2016-01-06 20:29:12 +01:00
Oliver Kowalke
5dbb10272b exec first ctx() in try-catch block 2016-01-06 20:27:51 +01:00
Oliver Kowalke
3f3d7ef4a7 change implementation depending on property context-switch
- context-switch=cc uses captured_context as implementation
- context-switch=ec uses execution_context as implementation
2016-01-04 17:44:52 +01:00
Oliver Kowalke
3d76707ea1 fix deallocation
- ~control_block() must be run before coroutine's
  stack is destroyed
2016-01-03 21:08:52 +01:00
Oliver Kowalke
302e484e8e fix deallocating coroutine's stack 2016-01-03 21:08:52 +01:00
Oliver Kowalke
2dd07fc9de test for BOOST_NO_CXX11_CONSTEXPR 2016-01-03 21:08:52 +01:00
Oliver Kowalke
79ff178d7e no assignment of captured_context with std::tie() 2016-01-03 21:08:52 +01:00
Oliver Kowalke
57562ffb2a fix unit-tests 2016-01-03 21:08:52 +01:00
Oliver Kowalke
6796caa2c7 use of captured_context 2016-01-03 21:08:51 +01:00
Oliver Kowalke
37222c014a Update README.md 2015-12-25 17:57:59 +01:00
Rene Rivera
2b8b43fe1d Fix project name to not collide with coroutine1. 2015-12-18 14:17:35 -06:00
Oliver Kowalke
91bb5ef261 exclude ctor with forwarding-reference from overload resolution
- prevents ctor with forwarding-reference to be used a copy-ctor
2015-12-16 16:38:18 +01:00
Oliver Kowalke
df480f4d04 decay-copy coroutine-function 2015-12-15 19:15:23 +01:00
Oliver Kowalke
468a750344 update docu 2015-12-12 23:28:14 +01:00
Oliver Kowalke
57156db7bb move coroutine-function into lambda 2015-12-12 23:26:51 +01:00
Oliver Kowalke
2c2524fe8e relax to C++11 2015-12-12 19:51:45 +01:00
Oliver Kowalke
ba6ea4b7a6 C++14 polishing 2015-12-02 17:14:45 +01:00
Oliver Kowalke
53614539aa remove unwind_coroutine() 2015-11-30 20:13:00 +01:00
Oliver Kowalke
cc9d3953c7 add const to local variables that do not change in
create_control_block()
2015-11-30 19:57:23 +01:00
Oliver Kowalke
13b21858f8 replace typedef by using 2015-11-30 19:57:09 +01:00
Oliver Kowalke
7e601ba612 removed support for WINFibers 2015-11-29 16:15:26 +01:00
Oliver Kowalke
4bb8f7585f adapt new execution_context API 2015-11-29 15:39:58 +01:00
Oliver Kowalke
fe869dd847 add missing header for isdigit() in example parser 2015-10-19 11:55:27 +02:00
Oliver Kowalke
59cc5e9d6f pass data between context switch using execution_context::operator() 2015-10-19 11:34:45 +02:00
Oliver Kowalke
cfc703732a segmented-stacks=on -> only segmented_stack is available 2015-10-18 19:17:56 +02:00