Commit Graph

99 Commits

Author SHA1 Message Date
Oliver Kowalke
4424232cf1 bugfix for #9760 2014-03-09 15:01:44 +01:00
Oliver Kowalke
4c780e4080 remove stack_tuple 2014-03-04 09:28:51 +01:00
Oliver Kowalke
89d6d8e9e6 remove prame warning 2014-03-01 09:34:24 +01:00
Oliver Kowalke
862fad87c4 use stack_allocator as default 2014-03-01 07:59:08 +01:00
Oliver Kowalke
f93db1d725 set missing flag flag_running for symmetric coroutine 2014-03-01 07:23:56 +01:00
Oliver Kowalke
03484ebce3 change coroutine_context according to boost.context 2014-02-16 21:18:20 +01:00
Oliver Kowalke
727ec8444b add flag running - prevent from restarting a coroutine if already
running
2014-02-12 17:51:33 +01:00
Oliver Kowalke
f1b55e35c9 rename is_stack_unbound() -> is_stack_unbounded() 2014-02-11 18:01:47 +01:00
Oliver Kowalke
57c9c0a355 remove disable_iffrom ctors 2014-02-10 22:20:09 +01:00
Oliver Kowalke
44085bd85d fix invalid template args 2014-02-09 10:31:29 +01:00
Oliver Kowalke
dfd32f03ad fix typo 2014-02-09 10:26:36 +01:00
Oliver Kowalke
8043977546 remove empty() and has_result() from asymmetric coroutine 2014-02-09 09:23:34 +01:00
Oliver Kowalke
a961e495d5 remove passing rvalues for asyymetric corouties 2014-02-09 09:12:53 +01:00
Oliver Kowalke
da031fcfda remove passing rvalues 2014-02-09 09:03:47 +01:00
Oliver Kowalke
0557ffdc6b disable passing non type for yielding to 2014-02-08 10:37:35 +01:00
Oliver Kowalke
81c94d05f7 pass values ar const& (MSVC) 2014-02-07 17:38:22 +01:00
Oliver Kowalke
82a78583ff rename to symmetric_coroutine_call<> 2014-02-05 19:27:22 +01:00
Oliver Kowalke
baabddae44 rename symmetric_coroutine_self -> symmetric_coroutine_yield 2014-02-05 17:38:09 +01:00
Oliver Kowalke
abe14b450a iparameters are always transfer by switching to symmetric coroutien 2014-02-05 17:27:14 +01:00
Oliver Kowalke
dab8445947 add free swap() function for symmetric_coroutine_self 2014-02-05 17:25:42 +01:00
Oliver Kowalke
b225dc0e98 make ctor of symmetric_coroutine_self private
- symmetric_coroutine_self should only be created by the framewaork
2014-02-05 17:24:35 +01:00
Oliver Kowalke
6f6b8ceac4 remove forward decl of stack_context in symmetric_coroutine_self 2014-02-05 17:22:02 +01:00
Oliver Kowalke
37f79622fe change comments in function trampoline() 2014-02-05 17:20:46 +01:00
Oliver Kowalke
13454392a3 renme template parameter of symmetric_coroutine to Arg 2014-02-05 17:20:12 +01:00
Oliver Kowalke
7f039c6a5c add typedef ymmetric_coroutine<>::value_type 2014-02-04 20:40:56 +01:00
Oliver Kowalke
e0214a767a remove symmetric_coroutine<T>::operaotr()() 2014-02-04 20:20:57 +01:00
Oliver Kowalke
8b420bb388 remove empty() from symmetric_coroutine<> 2014-02-04 20:00:50 +01:00
Oliver Kowalke
2d6e4b019e add noexcept specifier to symmetric coutines API 2014-02-04 20:00:22 +01:00
Oliver Kowalke
0e1a1e327b remove has_result() - unecessary 2014-02-04 19:45:13 +01:00
Oliver Kowalke
a4c23cdeb3 call std::terminate() if coroutine-fn throws an excpetion 2014-02-04 19:43:45 +01:00
Oliver Kowalke
ec0d14f3b6 add Has_result() to symmetric_coroutine_self<> 2014-02-04 17:43:06 +01:00
Oliver Kowalke
341503066c add yield() to symmetric_coroutine_impl/self 2014-02-03 19:21:25 +01:00
Oliver Kowalke
76113d355d pass values per reference to other coroutine (yield_to) 2014-02-02 17:01:44 +01:00
Oliver Kowalke
2257d2ddf9 fix usage of invalid trampoline function 2014-02-02 17:01:15 +01:00
Oliver Kowalke
3e09584943 fixing type deduction 2014-02-02 11:37:55 +01:00
Oliver Kowalke
1fd3d25998 formating 2014-02-02 11:25:02 +01:00
Oliver Kowalke
f19a3bcc98 first working draft of symmetric coroutines 2014-02-02 08:14:32 +01:00
Oliver Kowalke
5561946685 remove virtual destructor - not derived 2014-02-01 11:25:13 +01:00
Oliver Kowalke
ad206b293d renamic coroutine<> -> asymmetric_coroutine<> 2014-02-01 11:24:38 +01:00
Oliver Kowalke
b3b1d2bc70 add symmetric_coroutine 2014-01-30 17:20:58 +01:00
Oliver Kowalke
ddd9a6f5d5 rename coroutine -> asymmetric_coroutine 2014-01-30 17:20:37 +01:00
Oliver Kowalke
0223e75a70 remove pull/push_coroutine_object classes 2014-01-29 16:59:19 +01:00
Oliver Kowalke
d5e8413b5d remove pull/push_coroutine_object< void > 2014-01-28 20:46:45 +01:00
Oliver Kowalke
c61f465a0b fix Windows - typos 2014-01-28 19:03:04 +01:00
Oliver Kowalke
e14071c2d6 add missingtemplate arg in coroutine_fn typedef 2014-01-28 18:52:26 +01:00
Oliver Kowalke
1812f5fc45 fxes for C++11 part 2014-01-28 18:07:14 +01:00
Oliver Kowalke
23659091e1 fix passing moveable coroutine-fn to setup/trampoline 2014-01-28 17:58:23 +01:00
Oliver Kowalke
43a3311df0 rename simple_stack_allocator into standard_stack_allocator
Conflicts:
	performance/performance_create_standard.cpp
2014-01-27 20:09:27 +01:00
Oliver Kowalke
e74929f66a enable/disable stack unwinding in performance tests 2014-01-26 11:16:31 +01:00
Oliver Kowalke
7b6bba07c0 allocate on stack 2014-01-25 23:41:06 +01:00