Commit Graph

222 Commits

Author SHA1 Message Date
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
fb8254cadb Merge branch 'develop' 2015-10-21 15:15:34 +02: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
Oliver Kowalke
68913206d2 adapt mods for execution_context::operator() (passing argument) 2015-10-15 17:57:47 +02:00
Oliver Kowalke
4197d019f9 apply std::allocator_arg as required by boost.context 2015-09-26 20:23:04 +02:00
Oliver Kowalke
dea936b9fc Merge branch 'develop' 2015-09-21 17:31:59 +02:00
Oliver Kowalke
b5e475ff36 rename callee and caller 2015-09-21 17:31:24 +02:00
Oliver Kowalke
105ad9c10d enhance tests 2015-09-21 17:31:10 +02:00
Oliver Kowalke
3219de5e0f remove example chained.cpp 2015-09-21 17:30:46 +02:00
Oliver Kowalke
7268c35246 Merge branch 'develop' 2015-09-19 08:50:47 +02:00
Oliver Kowalke
f3c099d259 reduce number of execution_context a coroutine owns 2015-09-19 08:50:16 +02:00
Oliver Kowalke
e0dfb76789 Merge branch 'develop' 2015-09-18 21:29:37 +02:00
Oliver Kowalke
698c52ee89 fix formating 2015-09-18 21:29:19 +02:00
Oliver Kowalke
bf4014a0c4 Merge branch 'develop' 2015-09-18 21:24:19 +02:00
Oliver Kowalke
7183bb6e4c add new example of chained coroutines 2015-09-18 21:23:47 +02:00
Oliver Kowalke
cd2c00c8c6 fix for update caller in pull_type::operator()/push_type::operator() 2015-09-18 20:31:21 +02:00
Oliver Kowalke
b8d42ba255 Merge branch 'develop' 2015-09-18 17:28:10 +02:00
Oliver Kowalke
f58d7387e4 update caller in pull_type::operator()/push_type::operator() 2015-09-18 17:27:25 +02:00
Oliver Kowalke
aac0261dae Merge branch 'develop' 2015-09-05 07:56:52 +02:00
Oliver Kowalke
5c65e916a7 replace decltype(auto) -> void in lambda expression 2015-09-05 07:55:15 +02:00
Oliver Kowalke
18754d0f1a Merge branch 'develop' 2015-09-02 19:32:22 +02:00
Oliver Kowalke
2d063abea6 fix docu 2015-09-02 19:32:06 +02:00
Oliver Kowalke
05f64409da Merge branch 'develop' 2015-06-29 17:28:07 +02:00
Oliver Kowalke
a3f88893d1 cadd note regarding to C++14 restriction 2015-06-29 17:27:38 +02:00
Oliver Kowalke
15c97805a9 Merge branch 'develop' 2015-06-29 17:10:22 +02:00
Oliver Kowalke
3c17c4d591 add return value specification to lambda 2015-06-29 17:10:00 +02:00
Oliver Kowalke
66aa565ab7 Merge branch 'develop' 2015-06-22 19:28:28 +02:00
Oliver Kowalke
bf1a225780 rename asymmetric_coroutine<> to coroutine<> 2015-06-22 19:27:46 +02:00
Oliver Kowalke
03fee3bc4a Merge branch 'develop' 2015-06-21 18:30:43 +02:00
Oliver Kowalke
adcf0aa663 add C11/14 tests for unit-test 2015-06-21 18:30:13 +02:00
Oliver Kowalke
c6dbc35bd7 define BOOST_DISABLE_ASSERTS in Jamfile
- for variant=release or optimization=speed define BOOST_DISABLE_ASSERTS
2015-06-13 08:03:49 +02:00
Oliver Kowalke
415917efd8 enable alginment of control strcutes on stack 2015-06-10 20:50:59 +02:00
Oliver Kowalke
9f9d20cf4d Merge branch 'develop' 2015-06-06 09:01:42 +02:00
Oliver Kowalke
6904693216 update documentation 2015-06-06 09:01:27 +02:00
Oliver Kowalke
2ee5069ca5 Merge branch 'develop' 2015-06-04 08:31:05 +02:00
Oliver Kowalke
ca6d6c2ec1 add preprocessor error if execution_context is not supported 2015-06-04 08:30:35 +02:00
Oliver Kowalke
e77a049466 Merge branch 'develop' 2015-06-03 09:39:46 +02:00
Oliver Kowalke
bdc7cb82e5 execution_context does not track parents + no exceptions catched
- execution_context does not track parent
- execution_context calls std::terminate() if execption is thrown
- coroutine has to catch exception and store it in exception_ptr to
  rethrow it
2015-06-03 09:29:12 +02:00
Oliver Kowalke
47219de46b Merge branch 'develop' 2015-06-02 09:49:01 +02:00
Oliver Kowalke
2d5d7e4792 jump back to caller after coro-fn termination
- if the coroutine-fn terminates/finishes we have to explicitly jump
  back to the caller
- othwerwise the execution_context gets deconstructed, thus the
  coroutine will be destructed too early
2015-06-02 09:44:52 +02:00
Oliver Kowalke
bca9dd2a13 remove jump back to caller after termination
- if coroutine function terminates execution_context already jumps back
  to its parent (caller)
2015-04-03 09:56:46 +02:00
Oliver Kowalke
673b2e2878 add "Done" as output for example layout 2015-04-03 09:54:23 +02:00
Oliver Kowalke
ac27579e48 adapt new API of execution_context 2015-03-26 09:57:08 +01:00
Oliver Kowalke
65c9a6fa97 Merge branch 'develop' 2015-02-20 18:42:39 +01:00
Oliver Kowalke
23c083e374 remove std:swap() in move-ctor 2015-02-20 18:41:40 +01:00
Oliver Kowalke
5f1f159b42 Merge branch 'develop' 2015-02-18 18:50:23 +01:00